Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def pdf_to_jpg(pdf_file):
|
|
17 |
|
18 |
interface = gr.Interface(
|
19 |
fn=pdf_to_jpg,
|
20 |
-
inputs=gr.
|
21 |
-
outputs=gr.
|
22 |
)
|
23 |
|
24 |
interface.launch()
|
|
|
17 |
|
18 |
interface = gr.Interface(
|
19 |
fn=pdf_to_jpg,
|
20 |
+
inputs=gr.File(label="Upload PDF"),
|
21 |
+
outputs=gr.Image(label="First Page JPG")
|
22 |
)
|
23 |
|
24 |
interface.launch()
|