Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,8 @@ def transcribe_and_summarize(audio):
|
|
| 103 |
# ✅ Enable microphone + upload support
|
| 104 |
demo = gr.Interface(
|
| 105 |
fn=transcribe_and_summarize,
|
| 106 |
-
|
|
|
|
| 107 |
outputs=[
|
| 108 |
gr.Textbox(label="📝 Transcript"),
|
| 109 |
gr.Textbox(label="🧠 Summary")
|
|
|
|
| 103 |
# ✅ Enable microphone + upload support
|
| 104 |
demo = gr.Interface(
|
| 105 |
fn=transcribe_and_summarize,
|
| 106 |
+
gr.Audio(type="filepath", label="🎙️ Speak or Upload Audio (English/Urdu)")
|
| 107 |
+
|
| 108 |
outputs=[
|
| 109 |
gr.Textbox(label="📝 Transcript"),
|
| 110 |
gr.Textbox(label="🧠 Summary")
|