ManishThota commited on
Commit
bed8af5
·
verified ·
1 Parent(s): f8dcf83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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. What are the colors of the bus in the image?", 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",
 
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",