iamrobotbear commited on
Commit
bba97fe
·
1 Parent(s): 11349bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.Textbox(label="Generated Caption"),
102
- gr.outputs.Textbox(lines=5, label="Matched Statements"),
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(