Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -109,9 +109,9 @@ demo_vqascore = gr.Interface(
|
|
109 |
# allow_flagging='never'
|
110 |
# )
|
111 |
|
112 |
-
#
|
113 |
-
|
114 |
-
|
115 |
|
116 |
# Create the second demo
|
117 |
with gr.Blocks() as demo_vqascore_ranking:
|
|
|
109 |
# allow_flagging='never'
|
110 |
# )
|
111 |
|
112 |
+
# Custom component for loading examples
|
113 |
+
def load_example(model_name, images, prompt):
|
114 |
+
return model_name, images, prompt
|
115 |
|
116 |
# Create the second demo
|
117 |
with gr.Blocks() as demo_vqascore_ranking:
|