s03f3ff commited on
Commit
c4b8c6c
·
verified ·
1 Parent(s): 505545b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(