Update infer-web.py (#374)

修复 刷新按钮没有更新 批处理区的 索引路径的问题
This commit is contained in:
HalfMAI 2023-05-29 18:26:59 +08:00 committed by GitHub
parent 86b086e393
commit 69071119a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1309,6 +1309,7 @@ with gr.Blocks() as app:
choices=sorted(index_paths),
interactive=True,
)
refresh_button.click(fn=lambda: change_choices()[1], inputs=[], outputs=file_index4)
# file_big_npy2 = gr.Textbox(
# label=i18n("特征文件路径"),
# value="E:\\codes\\py39\\vits_vc_gpu_train\\logs\\mi-test-1key\\total_fea.npy",