zhiqiulin commited on
Commit
cd21a80
·
verified ·
1 Parent(s): 2d904b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,7 +84,7 @@ demo_vqascore = gr.Interface(
84
  examples=[
85
  ["clip-flant5-xxl", example_imgs[0], example_prompt0],
86
  ["clip-flant5-xxl", example_imgs[0], example_prompt1],
87
- ]
88
  outputs="number", # define the type of output
89
  title="VQAScore", # title of the app
90
  description="This model evaluates the similarity between an image and a text prompt."
@@ -101,7 +101,7 @@ demo_vqascore_ranking = gr.Interface(
101
  outputs=gr.Gallery(label="Ranked Images"), # define the type of output
102
  examples=[
103
  ["clip-flant5-xxl", [(example_imgs[0], ""), (example_imgs[1], ""), (example_imgs[2], ""), (example_imgs[3], "")], example_prompt0],
104
- ]
105
  title="VQAScore Ranking", # title of the app
106
  description="This model ranks a gallery of images based on their similarity to a text prompt.",
107
  allow_flagging='never'
 
84
  examples=[
85
  ["clip-flant5-xxl", example_imgs[0], example_prompt0],
86
  ["clip-flant5-xxl", example_imgs[0], example_prompt1],
87
+ ],
88
  outputs="number", # define the type of output
89
  title="VQAScore", # title of the app
90
  description="This model evaluates the similarity between an image and a text prompt."
 
101
  outputs=gr.Gallery(label="Ranked Images"), # define the type of output
102
  examples=[
103
  ["clip-flant5-xxl", [(example_imgs[0], ""), (example_imgs[1], ""), (example_imgs[2], ""), (example_imgs[3], "")], example_prompt0],
104
+ ],
105
  title="VQAScore Ranking", # title of the app
106
  description="This model ranks a gallery of images based on their similarity to a text prompt.",
107
  allow_flagging='never'