Spaces:
Runtime error
Runtime error
init
Browse files
llava/serve/gradio_web_server.py
CHANGED
|
@@ -459,15 +459,20 @@ def build_demo(embed_mode, cur_dir=None, concurrency_count=1):
|
|
| 459 |
cur_dir = os.path.dirname(os.path.abspath(__file__))
|
| 460 |
gr.Examples(examples=[
|
| 461 |
[f"{cur_dir}/amazon.jpg",f"Search bar at the top of the page"],
|
|
|
|
|
|
|
|
|
|
| 462 |
[f"{cur_dir}/semantic.jpg", f"Home"],
|
| 463 |
[f"{cur_dir}/accweather.jpg", f"Select May"],
|
| 464 |
-
[f"{cur_dir}/ios.jpg", f"Open Maps"],
|
| 465 |
[f"{cur_dir}/arxiv.jpg", f"Home"],
|
|
|
|
| 466 |
[f"{cur_dir}/ios.jpg", f"icon at the top right corner"],
|
|
|
|
| 467 |
|
| 468 |
-
|
|
|
|
| 469 |
# [f"{cur_dir}/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
|
| 470 |
-
], inputs=[imagebox, textbox])
|
| 471 |
# temperature=0
|
| 472 |
# top_p=0.7
|
| 473 |
# max_output_tokens=16384
|
|
|
|
| 459 |
cur_dir = os.path.dirname(os.path.abspath(__file__))
|
| 460 |
gr.Examples(examples=[
|
| 461 |
[f"{cur_dir}/amazon.jpg",f"Search bar at the top of the page"],
|
| 462 |
+
[f"{cur_dir}/shopping.jpg", f"delete button for the second item in the cart list"],
|
| 463 |
+
[f"{cur_dir}/ios.jpg", f"Open Maps"],
|
| 464 |
+
[f"{cur_dir}/toggle.jpg", f"toggle button labeled by VPN"],
|
| 465 |
[f"{cur_dir}/semantic.jpg", f"Home"],
|
| 466 |
[f"{cur_dir}/accweather.jpg", f"Select May"],
|
|
|
|
| 467 |
[f"{cur_dir}/arxiv.jpg", f"Home"],
|
| 468 |
+
[f"{cur_dir}/arxiv.jpg", f"Edit the page"],
|
| 469 |
[f"{cur_dir}/ios.jpg", f"icon at the top right corner"],
|
| 470 |
+
[f"{cur_dir}/health.jpg", f"text labeled by 2023/11/26"],
|
| 471 |
|
| 472 |
+
# toggle button labeled by VPN
|
| 473 |
+
# Button labeled by 2023/11/26
|
| 474 |
# [f"{cur_dir}/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
|
| 475 |
+
], inputs=[imagebox, textbox],examples_per_page=4)
|
| 476 |
# temperature=0
|
| 477 |
# top_p=0.7
|
| 478 |
# max_output_tokens=16384
|