Sambhavnoobcoder commited on
Commit
3afc55e
·
1 Parent(s): 527f66c

changed filepath to file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def pdf_to_audio(pdf_file):
17
  demo = gr.Blocks()
18
 
19
  with demo:
20
- pdf_file = gr.File(type="filepath")
21
  text = gr.Textbox()
22
 
23
  b1 = gr.Button("Convert PDF to Audio")
 
17
  demo = gr.Blocks()
18
 
19
  with demo:
20
+ pdf_file = gr.File(type="file")
21
  text = gr.Textbox()
22
 
23
  b1 = gr.Button("Convert PDF to Audio")