Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,21 +17,20 @@ index_paths = []
|
|
| 17 |
|
| 18 |
with gr.Blocks(title="RVC UI") as app:
|
| 19 |
gr.Markdown("<center><h1> RVC UI 🗣️")
|
| 20 |
-
gr.Markdown("<h1>this ui not done yet!")
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
with gr.Row():
|
| 25 |
-
clean_button = gr.Button("Refresh model", variant="primary")
|
| 26 |
-
with gr.Row():
|
| 27 |
with gr.Row():
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
with gr.TabItem("Single inference"):
|
| 35 |
input_audio0 = gr.Audio(label="The audio file to be processed", type="filepath")
|
| 36 |
file_index1 = gr.File(label="Path to the feature index file. Leave blank to use the selected result from the dropdown")
|
| 37 |
with gr.Column():
|
|
@@ -108,4 +107,11 @@ with gr.Blocks(title="RVC UI") as app:
|
|
| 108 |
#but4.click(train_index, [exp_dir1, version19], info3)
|
| 109 |
#but5.click(train1key,[exp_dir1,sr2,if_f0_3,trainset_dir4,spk_id5,np7,f0method8,save_epoch10,total_epoch11,batch_size12,if_save_latest13,pretrained_G14,pretrained_D15,gpus16,if_cache_gpu17,if_save_every_weights18,version19,gpus_rmvpe,author],info3,api_name="train_start_all")
|
| 110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
app.launch()
|
|
|
|
| 17 |
|
| 18 |
with gr.Blocks(title="RVC UI") as app:
|
| 19 |
gr.Markdown("<center><h1> RVC UI 🗣️")
|
| 20 |
+
gr.Markdown("<h1>this ui not done yet!")
|
| 21 |
+
with gr.Tabs():
|
| 22 |
+
with gr.TabItem("Single inference"):
|
| 23 |
+
models = gr.Dropdown(label="voice model", choices=sorted(names))
|
|
|
|
|
|
|
|
|
|
| 24 |
with gr.Row():
|
| 25 |
+
clean_button = gr.Button("Refresh model", variant="primary")
|
| 26 |
+
with gr.Row():
|
| 27 |
+
with gr.Row():
|
| 28 |
+
pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)", value=0)
|
| 29 |
+
but0 = gr.Button("Convert", variant="primary")
|
| 30 |
+
spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Select Speaker/Singer ID", value=0, visible=False, interactive=False)
|
| 31 |
+
clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
|
| 32 |
+
modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
|
| 33 |
|
|
|
|
| 34 |
input_audio0 = gr.Audio(label="The audio file to be processed", type="filepath")
|
| 35 |
file_index1 = gr.File(label="Path to the feature index file. Leave blank to use the selected result from the dropdown")
|
| 36 |
with gr.Column():
|
|
|
|
| 107 |
#but4.click(train_index, [exp_dir1, version19], info3)
|
| 108 |
#but5.click(train1key,[exp_dir1,sr2,if_f0_3,trainset_dir4,spk_id5,np7,f0method8,save_epoch10,total_epoch11,batch_size12,if_save_latest13,pretrained_G14,pretrained_D15,gpus16,if_cache_gpu17,if_save_every_weights18,version19,gpus_rmvpe,author],info3,api_name="train_start_all")
|
| 109 |
|
| 110 |
+
with gr.TabItem('Credits'):
|
| 111 |
+
gr.Markdown(
|
| 112 |
+
f"""
|
| 113 |
+
This UI's Made by Blane187
|
| 114 |
+
|
| 115 |
+
"""
|
| 116 |
+
)
|
| 117 |
app.launch()
|