Spaces:
Running
on
Zero
Running
on
Zero
Update webui.py
Browse files
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=[
|