JunJiaGuo commited on
Commit
50279a3
1 Parent(s): dd5b9d2

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app_langloc.py +9 -8
app_langloc.py CHANGED
@@ -78,13 +78,14 @@ with gr.Blocks(css=css) as demo:
78
  inputs=[frame_input, question_input, threshold_input, loc_model_input, llm_model_input],
79
  outputs=[objs, all_bbox_image, llm_bbox_image],
80
  )
81
- examples = gr.Examples(
82
- examples=[
83
- ["assets/demo.jpeg", "I'm thirsty"],
84
- ["assets/kitchen.webp", "The food has expired and is no longer safe to eat."],
85
- ["assets/kitchen.webp", "The food is about to expire."],
86
- ],
87
- inputs=[frame_input, question_input],
88
- )
 
89
  if __name__ == "__main__":
90
  demo.launch()
 
78
  inputs=[frame_input, question_input, threshold_input, loc_model_input, llm_model_input],
79
  outputs=[objs, all_bbox_image, llm_bbox_image],
80
  )
81
+ with gr.Row():
82
+ examples = gr.Examples(
83
+ examples=[
84
+ ["assets/demo.jpeg", "I'm thirsty"],
85
+ ["assets/kitchen.webp", "The food has expired and is no longer safe to eat."],
86
+ ["assets/kitchen.webp", "The food is about to expire."],
87
+ ],
88
+ inputs=[frame_input, question_input],
89
+ )
90
  if __name__ == "__main__":
91
  demo.launch()