djstrong commited on
Commit
5a52bb4
·
1 Parent(s): ee50884

show gated

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