Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,12 +20,12 @@ fs = HfFileSystem()
|
|
20 |
def refresh(how_much=3600): # default to 1 hour
|
21 |
time.sleep(how_much)
|
22 |
try:
|
23 |
-
api.restart_space(repo_id="
|
24 |
except Exception as e:
|
25 |
print(f"Error while scraping leaderboard, trying again... {e}")
|
26 |
refresh(600) # 10 minutes if any error happens
|
27 |
|
28 |
-
gradio_title="🧐 Open
|
29 |
gradio_desc= """🎯 This tool's aim is to provide [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) results in the model card.
|
30 |
## 💭 What Does This Tool Do:
|
31 |
- This tool adds the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) result of your model at the end of your model card.
|
|
|
20 |
def refresh(how_much=3600): # default to 1 hour
|
21 |
time.sleep(how_much)
|
22 |
try:
|
23 |
+
api.restart_space(repo_id="Weyaxi/leaderboard-results-to-modelcard")
|
24 |
except Exception as e:
|
25 |
print(f"Error while scraping leaderboard, trying again... {e}")
|
26 |
refresh(600) # 10 minutes if any error happens
|
27 |
|
28 |
+
gradio_title="🧐 Open LLM Leaderboard Results PR Opener"
|
29 |
gradio_desc= """🎯 This tool's aim is to provide [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) results in the model card.
|
30 |
## 💭 What Does This Tool Do:
|
31 |
- This tool adds the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard) result of your model at the end of your model card.
|