Spaces:
Running
Running
Update main/app/app.py
Browse files- main/app/app.py +9 -8
main/app/app.py
CHANGED
@@ -68,26 +68,27 @@ with gr.Blocks(title=" Ultimate RVC Maker ⚡", theme=theme) as app:
|
|
68 |
overlap = gr.Radio(label=translations["overlap"], info=translations["overlap_info"], choices=["0.25", "0.5", "0.75", "0.99"], value="0.25", interactive=True)
|
69 |
with gr.Row():
|
70 |
mdx_hop_length = gr.Slider(label="Hop length", info=translations["hop_length_info"], minimum=1, maximum=8192, value=1024, step=1, interactive=True, visible=backing.value or reverb.value or separator_model.value in mdx_model)
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
with gr.Column():
|
73 |
input = gr.File(label=translations["drop_audio"], file_types=[".wav", ".mp3", ".flac", ".ogg", ".opus", ".m4a", ".mp4", ".aac", ".alac", ".wma", ".aiff", ".webm", ".ac3"])
|
74 |
with gr.Column():
|
75 |
with gr.Accordion(translations["use_url"], open=False):
|
76 |
url = gr.Textbox(label=translations["url_audio"], value="", placeholder="https://www.youtube.com/...", scale=6)
|
77 |
download_button = gr.Button(translations["downloads"])
|
78 |
-
|
79 |
-
with gr.Column():
|
80 |
-
with gr.Row():
|
81 |
-
clean_strength = gr.Slider(label=translations["clean_strength"], info=translations["clean_strength_info"], minimum=0, maximum=1, value=0.5, step=0.1, interactive=True, visible=cleaner.value)
|
82 |
-
sample_rate1 = gr.Slider(minimum=8000, maximum=96000, step=1, value=44100, label=translations["sr"], info=translations["sr_info"], interactive=True)
|
83 |
with gr.Column():
|
84 |
-
|
85 |
with gr.Accordion(translations["input_output"], open=False):
|
86 |
format = gr.Radio(label=translations["export_format"], info=translations["export_info"], choices=["wav", "mp3", "flac", "ogg", "opus", "m4a", "mp4", "aac", "alac", "wma", "aiff", "webm", "ac3"], value="wav", interactive=True)
|
87 |
input_audio = gr.Dropdown(label=translations["audio_path"], value="", choices=paths_for_files, allow_custom_value=True, interactive=True)
|
88 |
refesh_separator = gr.Button(translations["refesh"])
|
89 |
output_separator = gr.Textbox(label=translations["output_folder"], value="audios", placeholder="audios", info=translations["output_folder_info"], interactive=True)
|
90 |
-
|
91 |
with gr.Row():
|
92 |
gr.Markdown(translations["output_separator"])
|
93 |
with gr.Row():
|
|
|
68 |
overlap = gr.Radio(label=translations["overlap"], info=translations["overlap_info"], choices=["0.25", "0.5", "0.75", "0.99"], value="0.25", interactive=True)
|
69 |
with gr.Row():
|
70 |
mdx_hop_length = gr.Slider(label="Hop length", info=translations["hop_length_info"], minimum=1, maximum=8192, value=1024, step=1, interactive=True, visible=backing.value or reverb.value or separator_model.value in mdx_model)
|
71 |
+
|
72 |
+
|
73 |
+
with gr.Column():
|
74 |
+
with gr.Row():
|
75 |
+
clean_strength = gr.Slider(label=translations["clean_strength"], info=translations["clean_strength_info"], minimum=0, maximum=1, value=0.5, step=0.1, interactive=True, visible=cleaner.value)
|
76 |
+
sample_rate1 = gr.Slider(minimum=8000, maximum=96000, step=1, value=44100, label=translations["sr"], info=translations["sr_info"], interactive=True)
|
77 |
+
|
78 |
with gr.Column():
|
79 |
input = gr.File(label=translations["drop_audio"], file_types=[".wav", ".mp3", ".flac", ".ogg", ".opus", ".m4a", ".mp4", ".aac", ".alac", ".wma", ".aiff", ".webm", ".ac3"])
|
80 |
with gr.Column():
|
81 |
with gr.Accordion(translations["use_url"], open=False):
|
82 |
url = gr.Textbox(label=translations["url_audio"], value="", placeholder="https://www.youtube.com/...", scale=6)
|
83 |
download_button = gr.Button(translations["downloads"])
|
84 |
+
|
|
|
|
|
|
|
|
|
85 |
with gr.Column():
|
|
|
86 |
with gr.Accordion(translations["input_output"], open=False):
|
87 |
format = gr.Radio(label=translations["export_format"], info=translations["export_info"], choices=["wav", "mp3", "flac", "ogg", "opus", "m4a", "mp4", "aac", "alac", "wma", "aiff", "webm", "ac3"], value="wav", interactive=True)
|
88 |
input_audio = gr.Dropdown(label=translations["audio_path"], value="", choices=paths_for_files, allow_custom_value=True, interactive=True)
|
89 |
refesh_separator = gr.Button(translations["refesh"])
|
90 |
output_separator = gr.Textbox(label=translations["output_folder"], value="audios", placeholder="audios", info=translations["output_folder_info"], interactive=True)
|
91 |
+
audio_input = gr.Audio(show_download_button=True, interactive=False, label=translations["input_audio"])
|
92 |
with gr.Row():
|
93 |
gr.Markdown(translations["output_separator"])
|
94 |
with gr.Row():
|