Shaltiel commited on
Commit
b293d29
1 Parent(s): 17d3a0d

Fixed API call

Browse files
Files changed (1) hide show
  1. 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 = api.model_info(model)
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