Updated app.py with download function
Browse files
app.py
CHANGED
|
@@ -44,6 +44,7 @@ iface = gr.Interface(
|
|
| 44 |
fn=transcribe_and_respond,
|
| 45 |
inputs=[
|
| 46 |
gr.Audio(sources=["upload", "microphone"], type="filepath"),
|
|
|
|
| 47 |
],
|
| 48 |
outputs=[
|
| 49 |
gr.Textbox(label="Transcript")
|
|
|
|
| 44 |
fn=transcribe_and_respond,
|
| 45 |
inputs=[
|
| 46 |
gr.Audio(sources=["upload", "microphone"], type="filepath"),
|
| 47 |
+
gr.File(label="Download Transcript")
|
| 48 |
],
|
| 49 |
outputs=[
|
| 50 |
gr.Textbox(label="Transcript")
|