Skip to content

Commit

Permalink
Use id rather than modelId
Browse files Browse the repository at this point in the history
  • Loading branch information
osanseviero authored Sep 2, 2024
1 parent aa4ad82 commit cafcd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/convert_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
correct = 0
errors = set()
for model in models:
model = api.model_info(model.modelId, files_metadata=True)
model = api.model_info(model.id, files_metadata=True)
size = None
for sibling in model.siblings:
if sibling.rfilename == "pytorch_model.bin":
Expand Down

0 comments on commit cafcd3d

Please sign in to comment.