Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def predict(image: Image.Image, question: str) -> str:
|
|
31 |
|
32 |
|
33 |
image = gr.components.Image(type='pil', label="Image")
|
34 |
-
question = gr.components.Textbox(info="Ask a visual question or leave empty for captioning
|
35 |
answer = gr.components.Textbox(label="Answer")
|
36 |
|
37 |
interface = gr.Interface(
|
|
|
31 |
|
32 |
|
33 |
image = gr.components.Image(type='pil', label="Image")
|
34 |
+
question = gr.components.Textbox(info="Ask a visual question or leave empty for captioning", placeholder="What is this?", label="Question")
|
35 |
answer = gr.components.Textbox(label="Answer")
|
36 |
|
37 |
interface = gr.Interface(
|