mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 08:17:45 +01:00
fix check model (#1134)
This commit is contained in:
@@ -39,6 +39,7 @@ def check_local_model_is_latest(
|
||||
"""
|
||||
try:
|
||||
model_id = get_model_id_from_cache(model_root_path)
|
||||
model_id = model_id.replace('___', '.')
|
||||
# make headers
|
||||
headers = {
|
||||
'user-agent':
|
||||
|
||||
Reference in New Issue
Block a user