bgamazay commited on
Commit
c11fd82
·
verified ·
1 Parent(s): 353fcd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -149,26 +149,24 @@ with gr.Blocks() as demo:
149
  <a href="https://huggingface.co/spaces/AIEnergyScore/Label" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">Label Generator</a>
150
  <a href="https://huggingface.github.io/AIEnergyScore/#faq" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">FAQ</a>
151
  <a href="https://huggingface.github.io/AIEnergyScore/#documentation" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">Documentation</a>
152
- {get_zip_data_link()}
153
  <a href="https://huggingface.co/spaces/AIEnergyScore/README/discussions" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">Community</a>
154
  </div>
155
  """)
156
 
157
  # --- Logo (centered) ---
158
  gr.HTML("""
159
- <div style="margin-top: 0px; text-align: center;">
160
  <img src="https://huggingface.co/spaces/AIEnergyScore/Leaderboard/resolve/main/logo.png"
161
  alt="Logo"
162
- style="max-width: 300px; height: auto;">
163
  </div>
164
  """)
165
 
166
  # --- Main UI ---
167
  gr.Markdown("# Submission Portal")
168
- gr.Markdown("### The goal of the AI Energy Score project is to develop an energy-based rating system for AI model deployment that will guide members of the community in choosing models for different tasks based on energy efficiency.")
169
- gr.Markdown("### If you want us to evaluate a model hosted on the 🤗 Hub, enter the model ID and choose the corresponding task from the dropdown list below, then click **Run Analysis** to launch the benchmarking process.")
170
- gr.Markdown("### If you've used the [Docker file](https://github.com/huggingface/AIEnergyScore/) to run your own evaluation, please submit the resulting log files at the bottom of the page.")
171
- gr.Markdown("### The [Project Leaderboard](https://huggingface.co/spaces/AIEnergyScore/Leaderboard) will be updated on a biannual basis (last updated in February 2025).")
172
 
173
  with gr.Row():
174
  with gr.Column():
 
149
  <a href="https://huggingface.co/spaces/AIEnergyScore/Label" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">Label Generator</a>
150
  <a href="https://huggingface.github.io/AIEnergyScore/#faq" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">FAQ</a>
151
  <a href="https://huggingface.github.io/AIEnergyScore/#documentation" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">Documentation</a>
 
152
  <a href="https://huggingface.co/spaces/AIEnergyScore/README/discussions" style="text-decoration: none; font-weight: bold; font-size: 1.1em; color: black; font-family: 'Inter', sans-serif;">Community</a>
153
  </div>
154
  """)
155
 
156
  # --- Logo (centered) ---
157
  gr.HTML("""
158
+ <div style="margin-top: 0px;">
159
  <img src="https://huggingface.co/spaces/AIEnergyScore/Leaderboard/resolve/main/logo.png"
160
  alt="Logo"
161
+ style="display: block; margin: 0 auto; max-width: 300px; height: auto;">
162
  </div>
163
  """)
164
 
165
  # --- Main UI ---
166
  gr.Markdown("# Submission Portal")
167
+ gr.Markdown("If you want us to evaluate a model hosted on the 🤗 Hub, enter the model ID and choose the corresponding task from the dropdown list below, then click **Run Analysis** to launch the benchmarking process.")
168
+ gr.Markdown("If you've used the [Docker file](https://github.com/huggingface/AIEnergyScore/) to run your own evaluation, please submit the resulting log files at the bottom of the page.")
169
+ gr.Markdown("The [Project Leaderboard](https://huggingface.co/spaces/AIEnergyScore/Leaderboard) will be updated on a biannual basis (last updated in February 2025).")
 
170
 
171
  with gr.Row():
172
  with gr.Column():