Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1581,20 +1581,20 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="lime", secondary_hue="green"
|
|
1581 |
#with gr.Row():
|
1582 |
|
1583 |
# file_index1 = gr.Dropdown(
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
index_rate1 = gr.Slider(
|
1599 |
minimum=0,
|
1600 |
maximum=1,
|
|
|
1581 |
#with gr.Row():
|
1582 |
|
1583 |
# file_index1 = gr.Dropdown(
|
1584 |
+
label="3. Choose the index file (in case it wasn't automatically found.)",
|
1585 |
+
choices=get_indexes(),
|
1586 |
+
value=get_index(),
|
1587 |
+
interactive=True,
|
1588 |
+
)
|
1589 |
+
sid0.change(fn=match_index, inputs=[sid0],outputs=[file_index1])
|
1590 |
+
refresh_button.click(
|
1591 |
+
fn=change_choices, inputs=[], outputs=[sid0, file_index1]
|
1592 |
+
)
|
1593 |
+
file_big_npy1 = gr.Textbox(
|
1594 |
+
label=i18n("特征文件路径"),
|
1595 |
+
value="E:\\codes\py39\\vits_vc_gpu_train\\logs\\mi-test-1key\\total_fea.npy",
|
1596 |
+
interactive=True,
|
1597 |
+
)
|
1598 |
index_rate1 = gr.Slider(
|
1599 |
minimum=0,
|
1600 |
maximum=1,
|