Csplk commited on
Commit
69cfbe8
β€’
1 Parent(s): 576d10c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -68,9 +68,11 @@ with gr.Blocks() as demo:
68
  gr.Markdown("## πŸŒ” moondream2\nA tiny vision language model. [GitHub](https://github.com/vikhyatk/moondream)")
69
  with gr.Row():
70
  img = gr.Gallery(label="Upload Images", type="pil")
 
71
  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)
 
72
  submit = gr.Button("Submit")
73
- output = gr.TextArea(label="Responses", lines=8)
74
  submit.click(answer_questions, [img, prompt], output)
75
 
76
  demo.queue().launch()
 
68
  gr.Markdown("## πŸŒ” moondream2\nA tiny vision language model. [GitHub](https://github.com/vikhyatk/moondream)")
69
  with gr.Row():
70
  img = gr.Gallery(label="Upload Images", type="pil")
71
+ with gr.Row():
72
  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)
73
+ with gr.Row():
74
  submit = gr.Button("Submit")
75
+ output = gr.TextArea(label="Responses", lines=30)
76
  submit.click(answer_questions, [img, prompt], output)
77
 
78
  demo.queue().launch()