Spaces:
Build error
Build error
Commit
·
bba97fe
1
Parent(s):
11349bd
Update app.py
Browse files
app.py
CHANGED
@@ -98,8 +98,8 @@ def process_images_and_statements(image_file):
|
|
98 |
image_input = gr.inputs.Image(type="numpy", label="Upload Image")
|
99 |
text_input = gr.inputs.Textbox(lines=5, label="Enter Statements (one per line)")
|
100 |
outputs = [
|
101 |
-
gr.outputs.
|
102 |
-
gr.outputs.Textbox(
|
103 |
]
|
104 |
|
105 |
iface = gr.Interface(
|
|
|
98 |
image_input = gr.inputs.Image(type="numpy", label="Upload Image")
|
99 |
text_input = gr.inputs.Textbox(lines=5, label="Enter Statements (one per line)")
|
100 |
outputs = [
|
101 |
+
gr.outputs.Image(plot=True, label="Annotated Image"),
|
102 |
+
gr.outputs.Textbox(height=5, label="Matched Statements"),
|
103 |
]
|
104 |
|
105 |
iface = gr.Interface(
|