Spaces:
Sleeping
Sleeping
yilmazmusa
commited on
Commit
·
5a415ce
1
Parent(s):
f6562c1
fixed app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def summarize_and_convert_to_audio(pdf_file):
|
|
81 |
write_wav(buffer, sampling_rate, audio_data.astype(np.float32))
|
82 |
audio_bytes = buffer.getvalue()
|
83 |
|
84 |
-
return audio_bytes
|
85 |
|
86 |
|
87 |
# Create a Gradio interface
|
|
|
81 |
write_wav(buffer, sampling_rate, audio_data.astype(np.float32))
|
82 |
audio_bytes = buffer.getvalue()
|
83 |
|
84 |
+
return audio_bytes, one_sentence_summary
|
85 |
|
86 |
|
87 |
# Create a Gradio interface
|