iamrobotbear commited on
Commit
5b51e25
·
1 Parent(s): bba97fe

change the fking image

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(plot=True, label="Annotated 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