gianb commited on
Commit
183fa99
·
1 Parent(s): 65694da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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"),