Improve log and webui

This commit is contained in:
litagin02
2024-03-14 15:19:09 +09:00
parent b1972a3d3d
commit b65d1d4755
3 changed files with 11 additions and 13 deletions

View File

@@ -249,9 +249,9 @@ def create_dataset_app() -> gr.Blocks:
outputs=[result2],
)
use_hf_whisper.change(
lambda x: gr.update(visible=x),
lambda x: (gr.update(visible=x), gr.update(visible=not x)),
inputs=[use_hf_whisper],
outputs=[batch_size],
outputs=[batch_size, compute_type],
)
return app