Spaces:
Runtime error
Runtime error
Fixed API call
Browse files- src/submission/submit.py +1 -1
src/submission/submit.py
CHANGED
@@ -84,7 +84,7 @@ def add_new_eval(
|
|
84 |
|
85 |
actual_revision = revision
|
86 |
if revision == 'main':
|
87 |
-
model_info =
|
88 |
actual_revision = model_info.sha
|
89 |
|
90 |
# Seems good, creating the eval
|
|
|
84 |
|
85 |
actual_revision = revision
|
86 |
if revision == 'main':
|
87 |
+
model_info = API.model_info(model)
|
88 |
actual_revision = model_info.sha
|
89 |
|
90 |
# Seems good, creating the eval
|