Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def transcribe_and_summarize(filepath):
|
|
19 |
summarized_output = asr2(transcribed_text, max_length=20, do_sample=False)
|
20 |
summary = summarized_output[0].get("summary_text", "")
|
21 |
|
22 |
-
return summary
|
23 |
|
24 |
# Gradio Interfaces
|
25 |
mic_transcribe = gr.Interface(
|
|
|
19 |
summarized_output = asr2(transcribed_text, max_length=20, do_sample=False)
|
20 |
summary = summarized_output[0].get("summary_text", "")
|
21 |
|
22 |
+
return transcribed_text, summary
|
23 |
|
24 |
# Gradio Interfaces
|
25 |
mic_transcribe = gr.Interface(
|