Update server.py
Browse files
server.py
CHANGED
@@ -34,7 +34,7 @@ with gr.Blocks() as server:
|
|
34 |
gr.Interface(
|
35 |
parse_pdf_and_return_markdown,
|
36 |
inputs=[gr.File(label="Upload PDF", type="filepath"), gr.Checkbox(label="Extract Images")],
|
37 |
-
outputs=[gr.
|
38 |
)
|
39 |
|
40 |
|
|
|
34 |
gr.Interface(
|
35 |
parse_pdf_and_return_markdown,
|
36 |
inputs=[gr.File(label="Upload PDF", type="filepath"), gr.Checkbox(label="Extract Images")],
|
37 |
+
outputs=[gr.Text(label="Markdown"), gr.JSON(label="Metadata"), gr.JSON(label="Images")]
|
38 |
)
|
39 |
|
40 |
|