Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,22 +168,20 @@ def add_new_eval(
|
|
| 168 |
|
| 169 |
|
| 170 |
with gr.Blocks() as demo:
|
| 171 |
-
gr.Markdown("#
|
| 172 |
-
gr.Markdown("##
|
| 173 |
gr.Markdown("## Fill out below then click **Run Analysis** to create the request file and launch the job.")
|
| 174 |
-
gr.Markdown("
|
| 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",
|