Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ iface = gr.Interface(
|
|
57 |
fn=gradio_predict,
|
58 |
inputs=[gr.Image(type="pil", label="Upload or Drag an Image"),
|
59 |
gr.Textbox(label="Question", placeholder="e.g. Can you explain the slide?", scale=4),
|
60 |
-
gr.Slider(2, 500, value=
|
61 |
outputs=gr.TextArea(label="Answer"),
|
62 |
examples=examples,
|
63 |
title="Sparrow - Tiny 3B | Visual Question Answering",
|
|
|
57 |
fn=gradio_predict,
|
58 |
inputs=[gr.Image(type="pil", label="Upload or Drag an Image"),
|
59 |
gr.Textbox(label="Question", placeholder="e.g. Can you explain the slide?", scale=4),
|
60 |
+
gr.Slider(2, 500, value=100, label="Token Count", info="Choose between 2 and 500")],
|
61 |
outputs=gr.TextArea(label="Answer"),
|
62 |
examples=examples,
|
63 |
title="Sparrow - Tiny 3B | Visual Question Answering",
|