mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
change warning to debug
This commit is contained in:
@@ -1203,7 +1203,7 @@ class ModelScopeConfig:
|
||||
for cookie in cookies:
|
||||
if cookie.is_expired() and not ModelScopeConfig.cookie_expired_warning:
|
||||
ModelScopeConfig.cookie_expired_warning = True
|
||||
logger.warning(
|
||||
logger.debug(
|
||||
'Authentication has expired, '
|
||||
'please re-login with modelscope login --token "YOUR_SDK_TOKEN" '
|
||||
'if you need to access private models or datasets.')
|
||||
|
||||
Reference in New Issue
Block a user