Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ iface = gr.Interface(
|
|
65 |
fn=gradio_predict,
|
66 |
inputs=[gr.Image(type="pil", label="Upload or Drag an Image"),
|
67 |
gr.Textbox(label="Question", placeholder="e.g. What are the colors of the bus in the image?", scale=4),
|
68 |
-
gr.Slider(
|
69 |
outputs=gr.TextArea(label="Answer"),
|
70 |
title="Sparrow-based Visual Question Answering",
|
71 |
description="An interactive chat model that can answer questions about images.",
|
|
|
65 |
fn=gradio_predict,
|
66 |
inputs=[gr.Image(type="pil", label="Upload or Drag an Image"),
|
67 |
gr.Textbox(label="Question", placeholder="e.g. What are the colors of the bus in the image?", scale=4),
|
68 |
+
gr.Slider(2, 100, value=25, label="Count", info="Choose between 2 and 100")],
|
69 |
outputs=gr.TextArea(label="Answer"),
|
70 |
title="Sparrow-based Visual Question Answering",
|
71 |
description="An interactive chat model that can answer questions about images.",
|