Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def transcribe_and_summarize(audio):
|
|
24 |
transcription = transcription_result['text']
|
25 |
|
26 |
# Step 2: Summarize the transcription
|
27 |
-
summary = summarizer(transcription, min_length=50, max_length=
|
28 |
|
29 |
summary_text = summary[0]['summary_text']
|
30 |
|
|
|
24 |
transcription = transcription_result['text']
|
25 |
|
26 |
# Step 2: Summarize the transcription
|
27 |
+
summary = summarizer(transcription, min_length=50, max_length=200)
|
28 |
|
29 |
summary_text = summary[0]['summary_text']
|
30 |
|