zhiqiulin commited on
Commit
7b21cbd
·
verified ·
1 Parent(s): 3f97390

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def load_example(model_name, images, prompt):
116
  # Create the second demo
117
  with gr.Blocks() as demo_vqascore_ranking:
118
  gr.Markdown("# VQAScore Ranking\nThis model ranks a gallery of images based on their similarity to a text prompt.")
119
- model_dropdown = gr.Dropdown(["clip-flant5-xxl", "clip-flant5-xl"], value=["clip-flant5-xxl"], label="Model Name")
120
  gallery = gr.Gallery(label="Generated Images", elem_id="input-gallery", columns=4, allow_preview=True)
121
  prompt = gr.Textbox(label="Prompt")
122
  rank_button = gr.Button("Rank Images")
 
116
  # Create the second demo
117
  with gr.Blocks() as demo_vqascore_ranking:
118
  gr.Markdown("# VQAScore Ranking\nThis model ranks a gallery of images based on their similarity to a text prompt.")
119
+ model_dropdown = gr.Dropdown(["clip-flant5-xxl", "clip-flant5-xl"], value="clip-flant5-xxl", label="Model Name")
120
  gallery = gr.Gallery(label="Generated Images", elem_id="input-gallery", columns=4, allow_preview=True)
121
  prompt = gr.Textbox(label="Prompt")
122
  rank_button = gr.Button("Rank Images")