sasha HF staff commited on
Commit
b7eaecc
Β·
verified Β·
1 Parent(s): afae9bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -168,22 +168,20 @@ def add_new_eval(
168
 
169
 
170
  with gr.Blocks() as demo:
171
- gr.Markdown("# βœ‰οΈβœ¨ Submit your model here!", elem_classes="markdown-text")
172
- gr.Markdown("## This is a super basic example 'frontend'.")
173
  gr.Markdown("## Fill out below then click **Run Analysis** to create the request file and launch the job.")
174
- gr.Markdown("### The request file will be written to [datasets/EnergyStarAI/requests_debug](https://huggingface.co/datasets/EnergyStarAI/requests_debug).")
175
- gr.Markdown("### The job will be launched at [EnergyStarAI/launch-computation-example](https://huggingface.co/spaces/EnergyStarAI/launch-computation-example).")
176
  with gr.Row():
177
  with gr.Column():
178
- model_name_textbox = gr.Textbox(label="Model name", value="lvwerra/distilbert-imdb")
179
  task = gr.Dropdown(
180
  choices=tasks,
181
  label="Choose a benchmark task",
182
  multiselect=False,
183
  interactive=True,
184
  )
185
-
186
  with gr.Column():
 
187
  precision = gr.Dropdown(
188
  choices=[i.value.name for i in Precision if i != Precision.Unknown],
189
  label="Precision",
 
168
 
169
 
170
  with gr.Blocks() as demo:
171
+ gr.Markdown("#Energy Star Submission Portal - v.0 (2024) 🌎 πŸ’» 🌟")
172
+ gr.Markdown("## βœ‰οΈβœ¨ Submit your model here!", elem_classes="markdown-text")
173
  gr.Markdown("## Fill out below then click **Run Analysis** to create the request file and launch the job.")
174
+ gr.Markdown("## The [Project Leaderboard](https://huggingface.co/spaces/EnergyStarAI/2024_Leaderboard) will be updated quarterly, as new models get submitted.")
 
175
  with gr.Row():
176
  with gr.Column():
 
177
  task = gr.Dropdown(
178
  choices=tasks,
179
  label="Choose a benchmark task",
180
  multiselect=False,
181
  interactive=True,
182
  )
 
183
  with gr.Column():
184
+ model_name_textbox = gr.Textbox(label="Model name", value="lvwerra/distilbert-imdb")
185
  precision = gr.Dropdown(
186
  choices=[i.value.name for i in Precision if i != Precision.Unknown],
187
  label="Precision",