Improve log and webui
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user