Spaces:
Sleeping
Sleeping
Next
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -745,9 +745,6 @@ with gr.Blocks(theme=applio) as app:
|
|
| 745 |
info="One pitch per line, Replace the default F0 and pitch modulation"
|
| 746 |
)
|
| 747 |
with gr.Column():
|
| 748 |
-
vc_log = gr.Textbox(label="Output Information", interactive=False)
|
| 749 |
-
vc_output = gr.Audio(label="Output Audio", interactive=False)
|
| 750 |
-
vc_convert = gr.Button("Convert", variant="primary")
|
| 751 |
vc_vocal_volume = gr.Slider(
|
| 752 |
minimum=0,
|
| 753 |
maximum=10,
|
|
@@ -768,8 +765,13 @@ with gr.Blocks(theme=applio) as app:
|
|
| 768 |
info="Adjust instrument volume (Default: 1}",
|
| 769 |
visible=True
|
| 770 |
)
|
| 771 |
-
|
| 772 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 773 |
vc_convert.click(
|
| 774 |
vc_single,
|
| 775 |
[
|
|
@@ -847,6 +849,7 @@ with gr.Blocks(theme=applio) as app:
|
|
| 847 |
tts_voice
|
| 848 |
]
|
| 849 |
)
|
|
|
|
| 850 |
sid.change(fn=get_vc, inputs=[sid, protect0], outputs=[spk_item, protect0, file_index, selected_model])
|
| 851 |
with gr.TabItem("Batch Inference"):
|
| 852 |
with gr.Row():
|
|
|
|
| 745 |
info="One pitch per line, Replace the default F0 and pitch modulation"
|
| 746 |
)
|
| 747 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
| 748 |
vc_vocal_volume = gr.Slider(
|
| 749 |
minimum=0,
|
| 750 |
maximum=10,
|
|
|
|
| 765 |
info="Adjust instrument volume (Default: 1}",
|
| 766 |
visible=True
|
| 767 |
)
|
| 768 |
+
with gr.Row():
|
| 769 |
+
vc_log = gr.Textbox(label="Output Information", interactive=False)
|
| 770 |
+
vc_output = gr.Audio(label="Output Audio", interactive=False)
|
| 771 |
+
vc_convert = gr.Button("Convert", variant="primary")
|
| 772 |
+
with gr.Accordion('combine audio output (optional)', open=False):
|
| 773 |
+
vc_combined_output = gr.Audio(label="Output Combined Audio", visible=True)
|
| 774 |
+
vc_combine = gr.Button("Combine",variant="primary", visible=True)
|
| 775 |
vc_convert.click(
|
| 776 |
vc_single,
|
| 777 |
[
|
|
|
|
| 849 |
tts_voice
|
| 850 |
]
|
| 851 |
)
|
| 852 |
+
|
| 853 |
sid.change(fn=get_vc, inputs=[sid, protect0], outputs=[spk_item, protect0, file_index, selected_model])
|
| 854 |
with gr.TabItem("Batch Inference"):
|
| 855 |
with gr.Row():
|