ManishThota commited on
Commit
6ca8deb
1 Parent(s): 702cb53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(minimum=1, maximum=100, default=25, label="Max Number of Tokens")],
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.",