Spaces:
Runtime error
Runtime error
Commit
·
ab6f296
1
Parent(s):
82898ce
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ class GradioInference():
|
|
44 |
clean_up_tokenization_spaces=False)
|
45 |
|
46 |
# Perform summarization on the transcription
|
47 |
-
|
48 |
|
49 |
# Extract keywords using VoiceLabT5
|
50 |
task_prefix = "Keywords: "
|
|
|
44 |
clean_up_tokenization_spaces=False)
|
45 |
|
46 |
# Perform summarization on the transcription
|
47 |
+
transcription_summary = self.summarizer(results["text"], max_length=130, min_length=30, do_sample=False)
|
48 |
|
49 |
# Extract keywords using VoiceLabT5
|
50 |
task_prefix = "Keywords: "
|