MusIre commited on
Commit
d8786cb
1 Parent(s): 5450db8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -33,7 +33,10 @@ def summarize_and_convert_to_audio(pdf_file, abstract_page):
33
 
34
  iface = gr.Interface(
35
  fn=summarize_and_convert_to_audio,
36
- inputs=["file", "text"],
 
 
 
37
  outputs="audio",
38
  live=True
39
  )
 
33
 
34
  iface = gr.Interface(
35
  fn=summarize_and_convert_to_audio,
36
+ inputs=[
37
+ gr.File("application/pdf", label="Upload PDF file"),
38
+ "text"
39
+ ],
40
  outputs="audio",
41
  live=True
42
  )