Spaces:
Runtime error
Runtime error
Commit
·
3afc55e
1
Parent(s):
527f66c
changed filepath to file
Browse files
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="
|
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")
|