Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -138,8 +138,9 @@ def recognize_image(image, texts):
|
|
138 |
image = gr.inputs.Image()
|
139 |
label = gr.outputs.Label(num_top_classes=100)
|
140 |
|
|
|
141 |
gr.Interface(
|
142 |
-
description=
|
143 |
fn=recognize_image,
|
144 |
inputs=["image", "text"],
|
145 |
outputs=[
|
|
|
138 |
image = gr.inputs.Image()
|
139 |
label = gr.outputs.Label(num_top_classes=100)
|
140 |
|
141 |
+
description = "UniCL for Zero-shot Image Recognition. Given an image, our model maps it to an arbitary text in a candidate pool."
|
142 |
gr.Interface(
|
143 |
+
description=description,
|
144 |
fn=recognize_image,
|
145 |
inputs=["image", "text"],
|
146 |
outputs=[
|