Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,8 @@ from model import answer_question
|
|
4 |
|
5 |
|
6 |
# Image and text inputs for the interface
|
7 |
-
image = gr.Image(type="pil", label="Image")
|
8 |
-
question = gr.Textbox(
|
9 |
-
label="Question", placeholder="Enter your question here", interactive=True
|
10 |
-
)
|
11 |
|
12 |
# Output for the interface
|
13 |
answer = gr.Textbox(label="Predicted answer", show_label=True, show_copy_button=True)
|
|
|
4 |
|
5 |
|
6 |
# Image and text inputs for the interface
|
7 |
+
image = gr.Image(type="pil", label="Image", interactive=True)
|
8 |
+
question = gr.Textbox(label="Question", placeholder="Enter your question here")
|
|
|
|
|
9 |
|
10 |
# Output for the interface
|
11 |
answer = gr.Textbox(label="Predicted answer", show_label=True, show_copy_button=True)
|