Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,9 @@ def summarize_and_speech(pdf_file):
|
|
33 |
|
34 |
return summary, audio_data
|
35 |
|
|
|
|
|
|
|
36 |
iface = gr.Interface(
|
37 |
fn= summarize_and_speech,
|
38 |
inputs=gr.File(label="Upload PDF", type="binary"),
|
|
|
33 |
|
34 |
return summary, audio_data
|
35 |
|
36 |
+
pdf_bytes_io.close()
|
37 |
+
|
38 |
+
|
39 |
iface = gr.Interface(
|
40 |
fn= summarize_and_speech,
|
41 |
inputs=gr.File(label="Upload PDF", type="binary"),
|