AdithyaSK HF Staff commited on
Commit
5cc6087
·
verified ·
1 Parent(s): df50ac7

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. pyproject.toml +3 -2
  2. server/gradio_ui.py +3 -3
  3. uv.lock +1 -1
pyproject.toml CHANGED
@@ -24,8 +24,9 @@ dependencies = [
24
  "fastmcp>=2.0.0",
25
  "requests>=2.31.0",
26
 
27
- # Web UI
28
- "gradio>=4.0.0",
 
29
 
30
  # OpenCode harness primitive — sandbox + proxy + agent driver
31
  "httpx>=0.27.0",
 
24
  "fastmcp>=2.0.0",
25
  "requests>=2.31.0",
26
 
27
+ # Web UI — pin to current major (6.x) to match local dev and avoid
28
+ # behavior drift on Space rebuilds.
29
+ "gradio>=6.0.0",
30
 
31
  # OpenCode harness primitive — sandbox + proxy + agent driver
32
  "httpx>=0.27.0",
server/gradio_ui.py CHANGED
@@ -392,9 +392,9 @@ def opencode_gradio_builder(
392
  placeholder="(blank → cold install per rollout)",
393
  )
394
  with gr.Row():
395
- max_tokens_cap = gr.Number(value=4096, label="max_tokens_cap", precision=0)
396
- top_logprobs = gr.Number(value=5, label="top_logprobs", precision=0)
397
- agent_timeout_s = gr.Number(value=600, label="agent_timeout_s", precision=0)
398
 
399
  run_btn = gr.Button("Run rollout", variant="primary")
400
 
 
392
  placeholder="(blank → cold install per rollout)",
393
  )
394
  with gr.Row():
395
+ max_tokens_cap = gr.Number(value=4096, label="max_tokens_cap", step=1)
396
+ top_logprobs = gr.Number(value=5, label="top_logprobs", step=1)
397
+ agent_timeout_s = gr.Number(value=600, label="agent_timeout_s", step=1)
398
 
399
  run_btn = gr.Button("Run rollout", variant="primary")
400
 
uv.lock CHANGED
@@ -1722,7 +1722,7 @@ requires-dist = [
1722
  { name = "e2b", specifier = ">=1.0.0" },
1723
  { name = "fastapi", specifier = ">=0.115.0" },
1724
  { name = "fastmcp", specifier = ">=2.0.0" },
1725
- { name = "gradio", specifier = ">=4.0.0" },
1726
  { name = "httpx", specifier = ">=0.27.0" },
1727
  { name = "openenv-core", extras = ["core"], git = "https://github.com/adithya-s-k/OpenEnv.git?rev=opencode-harness" },
1728
  { name = "pydantic", specifier = ">=2.0.0" },
 
1722
  { name = "e2b", specifier = ">=1.0.0" },
1723
  { name = "fastapi", specifier = ">=0.115.0" },
1724
  { name = "fastmcp", specifier = ">=2.0.0" },
1725
+ { name = "gradio", specifier = ">=6.0.0" },
1726
  { name = "httpx", specifier = ">=0.27.0" },
1727
  { name = "openenv-core", extras = ["core"], git = "https://github.com/adithya-s-k/OpenEnv.git?rev=opencode-harness" },
1728
  { name = "pydantic", specifier = ">=2.0.0" },