Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -236,11 +236,11 @@ with gr.Blocks() as demo:
|
|
236 |
# inputs=prompt_input,
|
237 |
#)
|
238 |
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
|
245 |
#generation_button.click(
|
246 |
# fn=generate_image,
|
|
|
236 |
# inputs=prompt_input,
|
237 |
#)
|
238 |
|
239 |
+
understanding_button.click(
|
240 |
+
multimodal_understanding,
|
241 |
+
inputs=[image_input, question_input, und_seed_input, top_p, temperature],
|
242 |
+
outputs=understanding_output
|
243 |
+
)
|
244 |
|
245 |
#generation_button.click(
|
246 |
# fn=generate_image,
|