show gated
Browse files
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):
|