terryyz commited on
Commit
c0013d9
·
verified ·
1 Parent(s): 5a5b2b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -228,7 +228,7 @@ def run_gradio():
228
  gr.Dropdown(["full", "hard"], label="BigCodeBench Subset"),
229
  gr.File(label="Samples Path (.jsonl)"),
230
  gr.Textbox(label="Pass k Values (comma-separated)", value="1,5,10"),
231
- gr.Slider(1, multiprocessing.cpu_count(), step=1, label="Parallel Workers"),
232
  gr.Slider(0.1, 10, step=0.1, label="Min Time Limit", value=1),
233
  gr.Slider(1, 100 * 1024, step=1024, label="Max AS Limit", value=30 * 1024),
234
  gr.Slider(1, 100 * 1024, step=1024, label="Max Data Limit", value=30 * 1024),
 
228
  gr.Dropdown(["full", "hard"], label="BigCodeBench Subset"),
229
  gr.File(label="Samples Path (.jsonl)"),
230
  gr.Textbox(label="Pass k Values (comma-separated)", value="1,5,10"),
231
+ gr.Slider(-1, multiprocessing.cpu_count(), step=1, label="Parallel Workers", value=-1),
232
  gr.Slider(0.1, 10, step=0.1, label="Min Time Limit", value=1),
233
  gr.Slider(1, 100 * 1024, step=1024, label="Max AS Limit", value=30 * 1024),
234
  gr.Slider(1, 100 * 1024, step=1024, label="Max Data Limit", value=30 * 1024),