Mention model_info.id instead of model_info.modelId (#32106)

This commit is contained in:
Lucain
2024-07-22 15:14:47 +02:00
committed by GitHub
parent 0fcfc5ccc9
commit f2a1e3ca68
4 changed files with 4 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ def get_tiny_model_summary_from_hub(output_path):
)
_models = set()
for x in models:
model = x.modelId
model = x.id
org, model = model.split("/")
if not model.startswith("tiny-random-"):
continue