TIMBOVILL commited on
Commit
5b8f820
·
verified ·
1 Parent(s): 4ff72be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
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
- # 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,
 
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,