Skip to content

Commit a2c0fa7

Browse files
author
NeoDev
authored
Update inference.py
1 parent d2bad5d commit a2c0fa7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tabs/inference/inference.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
raise ImportError("Ensure the 'audio_separator' module is installed or in your working directory.")
1212

1313
# --- Logging Setup ---
14-
def setup_logging(level=logging.DEBUG, log_file="kuro_rvc.log"):
14+
def setup_logging(level=logging.DEBUG, log_file="adrvc.log"):
1515
logger = logging.getLogger()
1616
logger.setLevel(level)
1717
formatter = logging.Formatter("%(asctime)s [%(levelname)s] %(name)s: %(message)s", "%Y-%m-%d %H:%M:%S")
@@ -191,10 +191,12 @@ def inference_tab():
191191
value="contentvec")
192192
embedder_model_custom_input = gr.Textbox(label="Custom Embedder Model", value="")
193193
run_button = gr.Button("Convert")
194-
output_message = gr.Textbox(label="Status")
195-
output_audio = gr.Audio(label="Final Mixed Audio", type="filepath")
196-
output_lead = gr.Audio(label="Output Lead Ai Cover:", type="filepath")
197-
output_backing = gr.Audio(label="Output Backing Ai Cover:", type="filepath")
194+
with gr.Row():
195+
output_message = gr.Textbox(label="Status")
196+
output_audio = gr.Audio(label="Final Mixed Audio", type="filepath")
197+
with gr.Row():
198+
output_lead = gr.Audio(label="Output Lead Ai Cover:", type="filepath")
199+
output_backing = gr.Audio(label="Output Backing Ai Cover:", type="filepath")
198200
run_button.click(
199201
run_advanced_rvc,
200202
inputs=[model_name_input, youtube_url_input, export_format_input, f0_method_input,

0 commit comments

Comments
 (0)