praeclarumjj3 commited on
Commit
3970809
1 Parent(s): efac0ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -280,12 +280,12 @@ def build_demo(embed_mode):
280
 
281
  cur_dir = os.path.dirname(os.path.abspath(__file__))
282
  gr.Examples(examples=[
283
- [f"{cur_dir}/examples/people.jpg", f"{cur_dir}/examples/people_pan.png", "", "What objects can be seen in the image?", "0.9", "1.0"],
284
- [f"{cur_dir}/examples/corgi.jpg", f"{cur_dir}/examples/corgi_pan.png", "", "What objects can be seen in the image?", "0.6", "0.7"],
285
  [f"{cur_dir}/examples/suits.jpg", f"{cur_dir}/examples/suits_pan.png", f"{cur_dir}/examples/suits_depth.jpeg", "Can you describe the depth order of the objects in this image, from closest to farthest?", "0.5", "0.5"],
286
  [f"{cur_dir}/examples/depth.jpeg", f"{cur_dir}/examples/depth_pan.png", f"{cur_dir}/examples/depth_depth.png", "Can you describe the depth order of the objects in this image, from closest to farthest?", "0.5", "0.5"],
287
- [f"{cur_dir}/examples/friends.jpg", f"{cur_dir}/examples/friends_pan.png", "", "What is happening in the image?", "0.8", "0.9"],
288
- [f"{cur_dir}/examples/suits.jpg", f"{cur_dir}/examples/suits_pan.png", "", "What objects can be seen in the image?", "0.5", "0.5"],
289
  ], inputs=[imagebox, segbox, depthbox, textbox, temperature, top_p])
290
 
291
  if not embed_mode:
 
280
 
281
  cur_dir = os.path.dirname(os.path.abspath(__file__))
282
  gr.Examples(examples=[
283
+ [f"{cur_dir}/examples/people.jpg", f"{cur_dir}/examples/people_pan.png", None, "What objects can be seen in the image?", "0.9", "1.0"],
284
+ [f"{cur_dir}/examples/corgi.jpg", f"{cur_dir}/examples/corgi_pan.png", None, "What objects can be seen in the image?", "0.6", "0.7"],
285
  [f"{cur_dir}/examples/suits.jpg", f"{cur_dir}/examples/suits_pan.png", f"{cur_dir}/examples/suits_depth.jpeg", "Can you describe the depth order of the objects in this image, from closest to farthest?", "0.5", "0.5"],
286
  [f"{cur_dir}/examples/depth.jpeg", f"{cur_dir}/examples/depth_pan.png", f"{cur_dir}/examples/depth_depth.png", "Can you describe the depth order of the objects in this image, from closest to farthest?", "0.5", "0.5"],
287
+ [f"{cur_dir}/examples/friends.jpg", f"{cur_dir}/examples/friends_pan.png", None, "What is happening in the image?", "0.8", "0.9"],
288
+ [f"{cur_dir}/examples/suits.jpg", f"{cur_dir}/examples/suits_pan.png", None, "What objects can be seen in the image?", "0.5", "0.5"],
289
  ], inputs=[imagebox, segbox, depthbox, textbox, temperature, top_p])
290
 
291
  if not embed_mode: