Spaces:
Build error
Build error
jwyang
commited on
Commit
•
9d707d9
1
Parent(s):
ad7aaa6
rearrange order
Browse files
app.py
CHANGED
@@ -141,11 +141,11 @@ gr.Interface(
|
|
141 |
description="UniCL for Zero-shot Image Recognition Demo (https://github.com/microsoft/unicl)",
|
142 |
fn=recognize_image,
|
143 |
inputs=["image", "text"],
|
144 |
-
outputs=[
|
|
|
145 |
gr.outputs.Image(
|
146 |
type="pil",
|
147 |
-
label="zero-shot heat map"),
|
148 |
-
label,
|
149 |
],
|
150 |
examples=[
|
151 |
["./elephants.png", "an elephant; an elephant walking in the river; four elephants walking in the river"],
|
|
|
141 |
description="UniCL for Zero-shot Image Recognition Demo (https://github.com/microsoft/unicl)",
|
142 |
fn=recognize_image,
|
143 |
inputs=["image", "text"],
|
144 |
+
outputs=[
|
145 |
+
label,
|
146 |
gr.outputs.Image(
|
147 |
type="pil",
|
148 |
+
label="zero-shot heat map"),
|
|
|
149 |
],
|
150 |
examples=[
|
151 |
["./elephants.png", "an elephant; an elephant walking in the river; four elephants walking in the river"],
|