Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def predict(image: Image.Image, question: str) -> str:
|
|
30 |
return answer
|
31 |
|
32 |
|
33 |
-
image = gr.components.Image(type='pil')
|
34 |
question = gr.components.Textbox(value="What is this?", label="Question")
|
35 |
answer = gr.components.Textbox(label="Answer")
|
36 |
|
|
|
30 |
return answer
|
31 |
|
32 |
|
33 |
+
image = gr.components.Image(type='pil', label="Image")
|
34 |
question = gr.components.Textbox(value="What is this?", label="Question")
|
35 |
answer = gr.components.Textbox(label="Answer")
|
36 |
|