Antoniskaraolis commited on
Commit
a0ecce1
1 Parent(s): 8c96cb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def process_pdf_to_speech(file):
28
  iface = gr.Interface(
29
  fn=process_pdf_to_speech,
30
  inputs=gr.File(label="Upload PDF"),
31
- outputs=gr.outputs.Audio(type="file", label="Play Summary"),
32
  title="PDF Abstract to Speech",
33
  description="This app summarizes the abstract from a PDF and converts it to speech. Please upload a PDF with an abstract."
34
  )
 
28
  iface = gr.Interface(
29
  fn=process_pdf_to_speech,
30
  inputs=gr.File(label="Upload PDF"),
31
+ outputs=gr.Audio(label="Play Summary"),
32
  title="PDF Abstract to Speech",
33
  description="This app summarizes the abstract from a PDF and converts it to speech. Please upload a PDF with an abstract."
34
  )