Update hatch setting and fmt

This commit is contained in:
litagin02
2024-03-15 21:36:53 +09:00
parent 2ee4f4ac86
commit 14c6805337
4 changed files with 10 additions and 5 deletions

View File

@@ -236,7 +236,11 @@ def create_dataset_app() -> gr.Blocks:
outputs=[result2],
)
use_hf_whisper.change(
lambda x: (gr.update(visible=x), gr.update(visible=not x), gr.update(visible=not x)),
lambda x: (
gr.update(visible=x),
gr.update(visible=not x),
gr.update(visible=not x),
),
inputs=[use_hf_whisper],
outputs=[batch_size, compute_type, device],
)