Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def gradio_predict(image, question, max_tokens):
|
|
46 |
iface = gr.Interface(
|
47 |
fn=gradio_predict,
|
48 |
inputs=[gr.Image(type="pil", label="Upload or Drag an Image"),
|
49 |
-
gr.Textbox(label="Question", placeholder="e.g.
|
50 |
gr.Slider(2, 100, value=25, label="Token Count", info="Choose between 2 and 100")],
|
51 |
outputs=gr.TextArea(label="Answer"),
|
52 |
title="Sparrow - Tiny 3B | Visual Question Answering",
|
|
|
46 |
iface = gr.Interface(
|
47 |
fn=gradio_predict,
|
48 |
inputs=[gr.Image(type="pil", label="Upload or Drag an Image"),
|
49 |
+
gr.Textbox(label="Question", placeholder="e.g. Can you explain the slide?", scale=4),
|
50 |
gr.Slider(2, 100, value=25, label="Token Count", info="Choose between 2 and 100")],
|
51 |
outputs=gr.TextArea(label="Answer"),
|
52 |
title="Sparrow - Tiny 3B | Visual Question Answering",
|