mlabonne commited on
Commit
486f0f6
1 Parent(s): 1700f59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -55,9 +55,9 @@ with gr.Blocks() as demo:
55
  gr.Markdown(TITLE)
56
  inputs = [
57
  gr.Dropdown(["nous", "openllm"], label="Benchmark", info="Select your benchmark suite", value="nous"),
58
- gr.Textbox("", label="Model", info="ID of the model you want to evaluate"),
59
- gr.Dropdown(GPU_LIST, label="GPU", info="Select your GPU to run the evaluation"),
60
- gr.Slider(1, 8, 1, label="Number of GPUs", info="Number of GPUs to use"),
61
  gr.Slider(minimum=50, maximum=500, value=100, step=25, label="Container disk", info="Size of the container disk in GB"),
62
  gr.Dropdown(["COMMUNITY", "SECURE"], label="Cloud type", info="Select your cloud type"),
63
  gr.Textbox("https://github.com/mlabonne/llm-autoeval.git", label="LLM AutoEval repo", info="Link to your LLM AutoEval repo"),
@@ -66,6 +66,7 @@ with gr.Blocks() as demo:
66
  gr.Textbox("", label="Github API Token", info="Your Github API token"),
67
  gr.Textbox("", label="Runpod API Token", info="Your Runpod API token"),
68
  ]
 
69
  outputs = gr.Textbox(visible=False)
70
  btn = gr.Button("Evaluate!")
71
  btn.click(autoeval, inputs, outputs)
 
55
  gr.Markdown(TITLE)
56
  inputs = [
57
  gr.Dropdown(["nous", "openllm"], label="Benchmark", info="Select your benchmark suite", value="nous"),
58
+ gr.Textbox("", label="Model", info="ID of the model you want to evaluate", placeholder="mlabonne/NeuralBeagle14-7B"),
59
+ gr.Dropdown(GPU_LIST, label="GPU", value="NVIDIA GeForce RTX 3090", info="Select your GPU to run the evaluation"),
60
+ gr.Slider(minium=1, maximum=8, value=1, step=1, label="Number of GPUs", info="Number of GPUs to use"),
61
  gr.Slider(minimum=50, maximum=500, value=100, step=25, label="Container disk", info="Size of the container disk in GB"),
62
  gr.Dropdown(["COMMUNITY", "SECURE"], label="Cloud type", info="Select your cloud type"),
63
  gr.Textbox("https://github.com/mlabonne/llm-autoeval.git", label="LLM AutoEval repo", info="Link to your LLM AutoEval repo"),
 
66
  gr.Textbox("", label="Github API Token", info="Your Github API token"),
67
  gr.Textbox("", label="Runpod API Token", info="Your Runpod API token"),
68
  ]
69
+ ]
70
  outputs = gr.Textbox(visible=False)
71
  btn = gr.Button("Evaluate!")
72
  btn.click(autoeval, inputs, outputs)