Csplk commited on
Commit
32323f9
β€’
1 Parent(s): 69cfbe8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -72,7 +72,8 @@ with gr.Blocks() as demo:
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()
 
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
+ output = gr.Dataframw(type="array",wrap=True)
77
  submit.click(answer_questions, [img, prompt], output)
78
 
79
  demo.queue().launch()