Spaces:
Runtime error
Runtime error
tlodato
commited on
Commit
·
e0bc6f2
1
Parent(s):
fe72558
run button indent
Browse files
app.py
CHANGED
@@ -36,12 +36,12 @@ with gr.Blocks(css="style.css") as demo:
|
|
36 |
out_fuyu,
|
37 |
]
|
38 |
|
39 |
-
run_button.click(
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
|
46 |
if __name__ == "__main__":
|
47 |
demo.queue(max_size=20).launch()
|
|
|
36 |
out_fuyu,
|
37 |
]
|
38 |
|
39 |
+
run_button.click(
|
40 |
+
fn=answer_question,
|
41 |
+
inputs=[input_image,text_input],
|
42 |
+
outputs=outputs,
|
43 |
+
api_name="vqa",
|
44 |
+
)
|
45 |
|
46 |
if __name__ == "__main__":
|
47 |
demo.queue(max_size=20).launch()
|