Csplk commited on
Commit
e9ecb71
β€’
1 Parent(s): fefde70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,9 +53,9 @@ with gr.Blocks() as demo:
53
  gr.Markdown("## πŸŒ” moondream2\nA tiny vision language model. [GitHub](https://github.com/vikhyatk/moondream)")
54
  with gr.Row():
55
  img = gr.Gallery(label="Upload Images", type="pil")
56
- prompt = gr.Textbox(label="Input Prompts", placeholder="Enter prompts (one prompt for each image provided) separated by commas. Ex: Describe this image, What is in this image?", lines=2)
57
  submit = gr.Button("Submit")
58
- output = gr.TextArea(label="Responses", lines=4)
59
  submit.click(answer_questions, [img, prompt], output)
60
 
61
  demo.queue().launch()
 
53
  gr.Markdown("## πŸŒ” moondream2\nA tiny vision language model. [GitHub](https://github.com/vikhyatk/moondream)")
54
  with gr.Row():
55
  img = gr.Gallery(label="Upload Images", type="pil")
56
+ prompt = gr.Textbox(label="Input Prompts", placeholder="Enter prompts (one prompt for each image provided) separated by commas. Ex: Describe this image, What is in this image?", lines=8)
57
  submit = gr.Button("Submit")
58
+ output = gr.TextArea(label="Responses", lines=8)
59
  submit.click(answer_questions, [img, prompt], output)
60
 
61
  demo.queue().launch()