Spaces:
Build error
Build error
Commit
·
5b51e25
1
Parent(s):
bba97fe
change the fking image
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ 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.Image(
|
102 |
gr.outputs.Textbox(height=5, label="Matched Statements"),
|
103 |
]
|
104 |
|
|
|
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(type="pil", label="Annotated Image"),
|
102 |
gr.outputs.Textbox(height=5, label="Matched Statements"),
|
103 |
]
|
104 |
|