Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,14 +72,13 @@ enable_space_ci()
|
|
72 |
|
73 |
def restart_space():
|
74 |
API.restart_space(repo_id=REPO_ID)
|
75 |
-
shutil.rmtree("./m_data")
|
76 |
-
shutil.rmtree("./data")
|
77 |
download_openbench()
|
78 |
|
79 |
def update_plot(selected_models):
|
80 |
return create_plot(selected_models)
|
81 |
|
82 |
def build_demo():
|
|
|
83 |
demo = gr.Blocks(title="Small Shlepa", css=custom_css)
|
84 |
leaderboard_df = build_leadearboard_df()
|
85 |
default_model = leaderboard_df["model"].iloc[0]
|
|
|
72 |
|
73 |
def restart_space():
|
74 |
API.restart_space(repo_id=REPO_ID)
|
|
|
|
|
75 |
download_openbench()
|
76 |
|
77 |
def update_plot(selected_models):
|
78 |
return create_plot(selected_models)
|
79 |
|
80 |
def build_demo():
|
81 |
+
download_openbench()
|
82 |
demo = gr.Blocks(title="Small Shlepa", css=custom_css)
|
83 |
leaderboard_df = build_leadearboard_df()
|
84 |
default_model = leaderboard_df["model"].iloc[0]
|