Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Quentin Gallouédec
commited on
Commit
•
54bed10
1
Parent(s):
400662c
modify label above video
Browse files
app.py
CHANGED
@@ -215,19 +215,19 @@ def refresh_winners(df):
|
|
215 |
for env_id in all_env_ids:
|
216 |
env_df = select_env(df, env_id)
|
217 |
if not env_df.empty:
|
218 |
-
winner = f'{env_df.iloc[0]["user_id"]}/{env_df.iloc[0]["model_id"]}'
|
219 |
outputs.append(
|
220 |
f"""## {env_id}
|
221 |
|
222 |
-
### 🏆
|
223 |
)
|
224 |
-
# # Or in HTML:
|
225 |
-
# outputs.append(f'<h3>🏆 <a href="https://huggingface.co/{model}">{model}</a> 🏆</h3>')
|
226 |
else:
|
227 |
outputs.append(
|
228 |
f"""## {env_id}
|
229 |
|
230 |
-
|
|
|
|
|
|
|
231 |
)
|
232 |
return outputs
|
233 |
|
|
|
215 |
for env_id in all_env_ids:
|
216 |
env_df = select_env(df, env_id)
|
217 |
if not env_df.empty:
|
|
|
218 |
outputs.append(
|
219 |
f"""## {env_id}
|
220 |
|
221 |
+
### 🏆 Best model 🏆"""
|
222 |
)
|
|
|
|
|
223 |
else:
|
224 |
outputs.append(
|
225 |
f"""## {env_id}
|
226 |
|
227 |
+
This leaderboard is quite empty... 😢
|
228 |
+
|
229 |
+
Be the first to [submit your model]()!
|
230 |
+
"""
|
231 |
)
|
232 |
return outputs
|
233 |
|