Spaces:
Runtime error
Runtime error
init
Browse files- llava/serve/gradio_web_server.py +7 -7
- pyproject.toml +1 -1
llava/serve/gradio_web_server.py
CHANGED
@@ -466,14 +466,14 @@ def build_demo(embed_mode, cur_dir=None, concurrency_count=1):
|
|
466 |
[f"{cur_dir}/amazon.jpg",f"Search bar at the top of the page"],
|
467 |
# [f"{cur_dir}/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
|
468 |
], inputs=[imagebox, textbox])
|
469 |
-
temperature=0
|
470 |
-
top_p=0.7
|
471 |
-
max_output_tokens=16384
|
472 |
#
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
|
478 |
with gr.Column(scale=8):
|
479 |
chatbot = gr.Chatbot(
|
|
|
466 |
[f"{cur_dir}/amazon.jpg",f"Search bar at the top of the page"],
|
467 |
# [f"{cur_dir}/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
|
468 |
], inputs=[imagebox, textbox])
|
469 |
+
# temperature=0
|
470 |
+
# top_p=0.7
|
471 |
+
# max_output_tokens=16384
|
472 |
#
|
473 |
+
with gr.Accordion("Parameters", open=False) as parameter_row:
|
474 |
+
temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, interactive=True, label="Temperature",)
|
475 |
+
top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.7, step=0.1, interactive=True, label="Top P",)
|
476 |
+
max_output_tokens = gr.Slider(minimum=0, maximum=1024, value=512, step=64, interactive=True, label="Max output tokens",)
|
477 |
|
478 |
with gr.Column(scale=8):
|
479 |
chatbot = gr.Chatbot(
|
pyproject.toml
CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4 |
|
5 |
[project]
|
6 |
name = "uground_demo_test"
|
7 |
-
version = "3.
|
8 |
description = "Navigating the Digital World as Humans Do: Universal Visual Grounding for GUI Agents"
|
9 |
readme = "README.md"
|
10 |
requires-python = ">=3.8"
|
|
|
4 |
|
5 |
[project]
|
6 |
name = "uground_demo_test"
|
7 |
+
version = "3.4"
|
8 |
description = "Navigating the Digital World as Humans Do: Universal Visual Grounding for GUI Agents"
|
9 |
readme = "README.md"
|
10 |
requires-python = ">=3.8"
|