FinancialSupport commited on
Commit
c363d02
1 Parent(s): 8f3a96c

Update src/submission/check_validity.py

Browse files
Files changed (1) hide show
  1. src/submission/check_validity.py +1 -1
src/submission/check_validity.py CHANGED
@@ -56,7 +56,7 @@ def is_model_on_hub(model_name: str, revision: str, token: str = None, trust_rem
56
  )
57
 
58
  except Exception as e:
59
- return False, "was not found on hub!({e})", None
60
 
61
 
62
  def get_model_size(model_info: ModelInfo, precision: str):
 
56
  )
57
 
58
  except Exception as e:
59
+ return False, f"was not found on hub!({e})", None
60
 
61
 
62
  def get_model_size(model_info: ModelInfo, precision: str):