Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- 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 |
-
|
82 |
-
examples=
|
83 |
-
[
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
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()
|