jw2yang commited on
Commit
139c6cb
1 Parent(s): 1f3181a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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="UniCL for Zero-shot Image Recognition Demo (https://github.com/microsoft/unicl)",
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=[