Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def vqa_interface(image, question):
|
|
87 |
interface = gr.Interface(
|
88 |
fn=vqa_interface,
|
89 |
inputs=[
|
90 |
-
gr.Image(type="
|
91 |
gr.Textbox(lines=1, placeholder="Enter your question here...", label="Question")
|
92 |
],
|
93 |
outputs=gr.Textbox(label="Predicted Answer"),
|
|
|
87 |
interface = gr.Interface(
|
88 |
fn=vqa_interface,
|
89 |
inputs=[
|
90 |
+
gr.Image(type="filepath", label="Upload an Image"),
|
91 |
gr.Textbox(lines=1, placeholder="Enter your question here...", label="Question")
|
92 |
],
|
93 |
outputs=gr.Textbox(label="Predicted Answer"),
|