Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def read_pdf(file):
|
|
8 |
|
9 |
iface = gr.Interface(
|
10 |
read_pdf,
|
11 |
-
gr.inputs.
|
12 |
gr.outputs.Textbox()
|
13 |
)
|
14 |
iface.launch()
|
|
|
8 |
|
9 |
iface = gr.Interface(
|
10 |
read_pdf,
|
11 |
+
gr.inputs.File(is_single=True, allow_pdf=True),
|
12 |
gr.outputs.Textbox()
|
13 |
)
|
14 |
iface.launch()
|