Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def process_pdf(pdf_file, user_prompt):
|
|
78 |
iface = gr.Interface(
|
79 |
fn=process_pdf,
|
80 |
inputs=[gr.File(type="filepath"), gr.Textbox(label="Enter your custom prompt")],
|
81 |
-
outputs=
|
82 |
)
|
83 |
|
84 |
iface.queue().launch(share=False)
|
|
|
78 |
iface = gr.Interface(
|
79 |
fn=process_pdf,
|
80 |
inputs=[gr.File(type="filepath"), gr.Textbox(label="Enter your custom prompt")],
|
81 |
+
outputs="json"
|
82 |
)
|
83 |
|
84 |
iface.queue().launch(share=False)
|