itsmariamaraki commited on
Commit
93568d6
β€’
1 Parent(s): f6b17be

Update app.py

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