Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,8 @@ def summarize_pdf_abstract(pdf_file):
|
|
43 |
speech_bytes = BytesIO()
|
44 |
speech.write_to_fp(speech_bytes)
|
45 |
|
46 |
-
|
|
|
47 |
|
48 |
except Exception as e:
|
49 |
raise Exception(str(e))
|
|
|
43 |
speech_bytes = BytesIO()
|
44 |
speech.write_to_fp(speech_bytes)
|
45 |
|
46 |
+
# Return individual output values
|
47 |
+
return summary_sentence, speech_bytes
|
48 |
|
49 |
except Exception as e:
|
50 |
raise Exception(str(e))
|