xxx1 commited on
Commit
fb169a0
·
1 Parent(s): 8c02c7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -152,11 +152,12 @@ with gr.Blocks(
152
  )
153
  '''
154
  examples=[['bird.jpeg',"How many birds are there in the tree?","There are two birds in the tree.","2","2"],
155
- 'qa9.jpg',"What type of vehicle is being pulled by the horses ?",'The vehicle being pulled by the horses is likely a sleigh.','carriage','Sled'],
156
  ['upload4.jpg',"What is this old man doing?","The old man is fishing.","fishing","Fishing"]]
157
  examples = gr.Examples(
158
  examples=examples,
159
- inputs=[image_input, chat_input,caption_output_v1,caption_output,gpt3_output_v1],
 
160
  )
161
 
162
  iface.queue(concurrency_count=1, api_open=False, max_size=10)
 
152
  )
153
  '''
154
  examples=[['bird.jpeg',"How many birds are there in the tree?","There are two birds in the tree.","2","2"],
155
+ ['qa9.jpg',"What type of vehicle is being pulled by the horses ?",'The vehicle being pulled by the horses is likely a sleigh.','carriage','Sled'],
156
  ['upload4.jpg',"What is this old man doing?","The old man is fishing.","fishing","Fishing"]]
157
  examples = gr.Examples(
158
  examples=examples,
159
+ [image_input, chat_input],
160
+ [image_input, chat_input,caption_output_v1,caption_output,gpt3_output_v1],
161
  )
162
 
163
  iface.queue(concurrency_count=1, api_open=False, max_size=10)