Skip to content

Commit

Permalink
Fix typo in prepare_model_lib.py
Browse files Browse the repository at this point in the history
tar_list.append(valid_paths[ls0]) is introduced by mistake in mlc-ai#1993
  • Loading branch information
HuitingLiu authored Mar 24, 2024
1 parent 837ee53 commit 606a6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/prepare_model_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main():
raise RuntimeError(
f"Cannot find iOS lib for {model} from the following candidate paths: {paths}"
)
tar_list.append(valid_paths[ls0])
tar_list.append(valid_paths[0])
model_set.add(model)

lib_path = os.path.join("build", "lib", "libmodel_iphone.a")
Expand Down

0 comments on commit 606a6cb

Please sign in to comment.