Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -588,11 +588,11 @@ with demo:
|
|
| 588 |
transcribe_btn = gr.Button("Transcrire l'audio")
|
| 589 |
transcription_output = gr.Textbox(label="Transcription", lines=5)
|
| 590 |
|
| 591 |
-
transcribe_btn.click(
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
)
|
| 596 |
|
| 597 |
########################## Key Gen Part ##########################
|
| 598 |
|
|
|
|
| 588 |
transcribe_btn = gr.Button("Transcrire l'audio")
|
| 589 |
transcription_output = gr.Textbox(label="Transcription", lines=5)
|
| 590 |
|
| 591 |
+
transcribe_btn.click(
|
| 592 |
+
fn=transcribe_audio,
|
| 593 |
+
inputs=[audio_output],
|
| 594 |
+
outputs=[transcription_output]
|
| 595 |
+
)
|
| 596 |
|
| 597 |
########################## Key Gen Part ##########################
|
| 598 |
|