From 69071119a9fb713a9ce5bece8cf5052c632a7dc8 Mon Sep 17 00:00:00 2001 From: HalfMAI Date: Mon, 29 May 2023 18:26:59 +0800 Subject: [PATCH] Update infer-web.py (#374) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 刷新按钮没有更新 批处理区的 索引路径的问题 --- infer-web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/infer-web.py b/infer-web.py index a4f7c5d..ed8c3ff 100644 --- a/infer-web.py +++ b/infer-web.py @@ -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",