Andrei Shadrikov commited on
Commit ·
6095336
1
Parent(s): 23c0f1b
fix
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ pdf_interface = gr.Interface(
|
|
| 93 |
image_interface = gr.Interface(
|
| 94 |
fn=process_image_and_text,
|
| 95 |
inputs=[
|
| 96 |
-
|
| 97 |
gr.Textbox(label="Text Query")
|
| 98 |
],
|
| 99 |
outputs=gr.Textbox(label="Possible Answers"),
|
|
|
|
| 93 |
image_interface = gr.Interface(
|
| 94 |
fn=process_image_and_text,
|
| 95 |
inputs=[
|
| 96 |
+
PDF(label="Upload PDF"),
|
| 97 |
gr.Textbox(label="Text Query")
|
| 98 |
],
|
| 99 |
outputs=gr.Textbox(label="Possible Answers"),
|