Commit
·
0ee1f7b
1
Parent(s):
e180a1f
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ from huggingface_hub.repocard import metadata_load
|
|
| 4 |
|
| 5 |
import pandas as pd
|
| 6 |
|
|
|
|
|
|
|
| 7 |
api = HfApi()
|
| 8 |
|
| 9 |
def get_user_models(hf_username, env_tag, lib_tag):
|
|
@@ -169,7 +171,7 @@ def test_(hf_username):
|
|
| 169 |
|
| 170 |
# Save best_result and best_model_id
|
| 171 |
unit["best_result"] = best_result
|
| 172 |
-
unit["best_model_id"] = best_model_id
|
| 173 |
|
| 174 |
# Based on best_result do we pass the unit?
|
| 175 |
check_if_passed(unit)
|
|
|
|
| 4 |
|
| 5 |
import pandas as pd
|
| 6 |
|
| 7 |
+
from utils import *
|
| 8 |
+
|
| 9 |
api = HfApi()
|
| 10 |
|
| 11 |
def get_user_models(hf_username, env_tag, lib_tag):
|
|
|
|
| 171 |
|
| 172 |
# Save best_result and best_model_id
|
| 173 |
unit["best_result"] = best_result
|
| 174 |
+
unit["best_model_id"] = make_clickable_model(best_model_id)
|
| 175 |
|
| 176 |
# Based on best_result do we pass the unit?
|
| 177 |
check_if_passed(unit)
|