Spaces:
Running
Running
jiang
commited on
Commit
•
05ab3ae
1
Parent(s):
b667410
update
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ examples = [['demo/bear.jpeg', 'a bear astronaut in the space'],
|
|
43 |
]
|
44 |
io = gr.Interface(fn=visual_grounding, inputs=[gr.inputs.Image(type='pil'), "textbox"],
|
45 |
outputs=[gr.outputs.Image(label="output", type='numpy'), gr.outputs.Image(label="predicted mask", type='numpy')],
|
46 |
-
title=title, description=description,
|
47 |
allow_flagging=False, allow_screenshot=False)
|
48 |
io.launch(cache_examples=True)
|
49 |
# io.launch()
|
|
|
43 |
]
|
44 |
io = gr.Interface(fn=visual_grounding, inputs=[gr.inputs.Image(type='pil'), "textbox"],
|
45 |
outputs=[gr.outputs.Image(label="output", type='numpy'), gr.outputs.Image(label="predicted mask", type='numpy')],
|
46 |
+
title=title, description=description, examples=examples,
|
47 |
allow_flagging=False, allow_screenshot=False)
|
48 |
io.launch(cache_examples=True)
|
49 |
# io.launch()
|