Spaces:
Runtime error
Runtime error
Commit
·
93568d6
1
Parent(s):
f6b17be
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def summarization_n_audiospeech(pdf_file):
|
|
48 |
fin_summary = summary.split('.', 1)[0] + '.' #extract and print only the first sentence of the summary
|
49 |
|
50 |
#converting the summarization into an audio output
|
51 |
-
tts_output = audiospeech(
|
52 |
audio_data = tts_output['audio'][0]
|
53 |
|
54 |
with BytesIO() as buffer:
|
|
|
48 |
fin_summary = summary.split('.', 1)[0] + '.' #extract and print only the first sentence of the summary
|
49 |
|
50 |
#converting the summarization into an audio output
|
51 |
+
tts_output = audiospeech(fin_summary)
|
52 |
audio_data = tts_output['audio'][0]
|
53 |
|
54 |
with BytesIO() as buffer:
|