Update app.py
Browse files
app.py
CHANGED
@@ -811,6 +811,8 @@ with gr.Blocks(theme=applio, title="RVC UI") as app:
|
|
811 |
with gr.Row():
|
812 |
clean_button = gr.Button("Refresh model", variant="primary")
|
813 |
clean_button.click(fn=clean, inputs=[], outputs=[models])
|
|
|
|
|
814 |
with gr.Row():
|
815 |
with gr.Row():
|
816 |
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
@@ -833,8 +835,7 @@ with gr.Blocks(theme=applio, title="RVC UI") as app:
|
|
833 |
|
834 |
with gr.TabItem("Batch inference"):
|
835 |
gr.Markdown("<center>Batch conversion\n. Enter the folder containing the audio files to be converted or upload multiple audio files. The converted audio will be output in the specified folder (default: 'opt').")
|
836 |
-
|
837 |
-
refresh_button.click(fn=change_choices, inputs=[], outputs=[file_index2], api_name="infer_refresh")
|
838 |
vc_transform1 = gr.Number(label="Transpose (integer, number of semitones, raise by an octave: 12, lower by an octave: -12)", value=0)
|
839 |
dir_input = gr.Textbox(label="Enter the path of the audio folder to be processed (copy it from the address bar of the file manager)", placeholder="C:\\Users\\Desktop\\input_vocal_dir")
|
840 |
inputs = gr.File(file_count="multiple", label="Multiple audio files can also be imported. If a folder path exists, this input is ignored.")
|
|
|
811 |
with gr.Row():
|
812 |
clean_button = gr.Button("Refresh model", variant="primary")
|
813 |
clean_button.click(fn=clean, inputs=[], outputs=[models])
|
814 |
+
refresh_button = gr.Button("Refresh index", variant="primary")
|
815 |
+
refresh_button.click(fn=change_choices, inputs=[], outputs=[file_index1], api_name="infer_refresh")
|
816 |
with gr.Row():
|
817 |
with gr.Row():
|
818 |
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
|
|
835 |
|
836 |
with gr.TabItem("Batch inference"):
|
837 |
gr.Markdown("<center>Batch conversion\n. Enter the folder containing the audio files to be converted or upload multiple audio files. The converted audio will be output in the specified folder (default: 'opt').")
|
838 |
+
|
|
|
839 |
vc_transform1 = gr.Number(label="Transpose (integer, number of semitones, raise by an octave: 12, lower by an octave: -12)", value=0)
|
840 |
dir_input = gr.Textbox(label="Enter the path of the audio folder to be processed (copy it from the address bar of the file manager)", placeholder="C:\\Users\\Desktop\\input_vocal_dir")
|
841 |
inputs = gr.File(file_count="multiple", label="Multiple audio files can also be imported. If a folder path exists, this input is ignored.")
|