Update app.py with transcript download function
Browse files
app.py
CHANGED
|
@@ -44,10 +44,11 @@ iface = gr.Interface(
|
|
| 44 |
fn=transcribe_and_respond,
|
| 45 |
inputs=[
|
| 46 |
gr.Audio(sources=["upload", "microphone"], type="filepath"),
|
| 47 |
-
|
| 48 |
],
|
| 49 |
outputs=[
|
| 50 |
-
gr.Textbox(label="Transcript")
|
|
|
|
| 51 |
],
|
| 52 |
title="ShukaNotesApp",
|
| 53 |
description="Note Maker for Indian Offices and Their Many Languages.",
|
|
|
|
| 44 |
fn=transcribe_and_respond,
|
| 45 |
inputs=[
|
| 46 |
gr.Audio(sources=["upload", "microphone"], type="filepath"),
|
| 47 |
+
|
| 48 |
],
|
| 49 |
outputs=[
|
| 50 |
+
gr.Textbox(label="Transcript"),
|
| 51 |
+
gr.File(label="Download Transcript")
|
| 52 |
],
|
| 53 |
title="ShukaNotesApp",
|
| 54 |
description="Note Maker for Indian Offices and Their Many Languages.",
|