fix check model (#1134)

This commit is contained in:
tastelikefeet
2025-01-02 16:08:10 +08:00
committed by GitHub
parent 9ee1ff8cee
commit a89bb73995

View File

@@ -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':