multimodalart HF Staff commited on
Commit
c63e2ac
·
verified ·
1 Parent(s): 66acc7e

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +12 -0
webui.py CHANGED
@@ -519,6 +519,18 @@ def render_interface() -> gr.Blocks:
519
  )
520
 
521
  # ── Event handlers ──
 
 
 
 
 
 
 
 
 
 
 
 
522
  transcription_btn.click(
523
  fn=transcription_function,
524
  inputs=[
 
519
  )
520
 
521
  # ── Event handlers ──
522
+ prompt_audio.change(
523
+ fn=lambda: None,
524
+ inputs=[],
525
+ outputs=[prompt_metadata],
526
+ )
527
+
528
+ target_audio.change(
529
+ fn=lambda: None,
530
+ inputs=[],
531
+ outputs=[target_metadata],
532
+ )
533
+
534
  transcription_btn.click(
535
  fn=transcription_function,
536
  inputs=[