From cafcd3d5ee520f44004cb819faa3c03adfb656e7 Mon Sep 17 00:00:00 2001 From: Omar Sanseviero Date: Mon, 2 Sep 2024 15:34:08 +0200 Subject: [PATCH] Use id rather than modelId --- bindings/python/convert_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/convert_all.py b/bindings/python/convert_all.py index 2fd2a43..39fe9b4 100644 --- a/bindings/python/convert_all.py +++ b/bindings/python/convert_all.py @@ -16,7 +16,7 @@ if __name__ == "__main__": 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": -- 2.43.0