ManishThota commited on
Commit
865f315
1 Parent(s): 7d96045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ 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, 500, 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",
53
  description="An interactive chat model that can answer questions about images in an Academic context. \n We can input images, and the system will analyze them to provide information about their contents. I've utilized this capability by feeding slides from PowerPoint presentations used in classes and the lecture content passed as text. Consequently, the model now mimics the behavior and responses of my professors. So, if I present any PowerPoint slide, it explains it just like my professor would, further it can be personalized.",
 
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, 500, value=25, label="Token Count", info="Choose between 2 and 500")],
51
  outputs=gr.TextArea(label="Answer"),
52
  title="Sparrow - Tiny 3B | Visual Question Answering",
53
  description="An interactive chat model that can answer questions about images in an Academic context. \n We can input images, and the system will analyze them to provide information about their contents. I've utilized this capability by feeding slides from PowerPoint presentations used in classes and the lecture content passed as text. Consequently, the model now mimics the behavior and responses of my professors. So, if I present any PowerPoint slide, it explains it just like my professor would, further it can be personalized.",