diff --git a/scripts/convert.py b/scripts/convert.py index 5e97eead0..ef8c5a780 100644 --- a/scripts/convert.py +++ b/scripts/convert.py @@ -44,7 +44,7 @@ def main(args_in: Optional[List[str]] = None) -> None: dir_model = snapshot_download(repo_id=str(args.model), resume_download=True, token=args.token) except Exception as e: if e.response.status_code == 401: - print("You are required to input an acccess token ID for {}, please add it in option --token or download model weights locally".format(args.model)) + print("You are required to input an access token ID for {}, please add it in option --token or download model weights locally".format(args.model)) sys.exit(f"{e}") convert_model(dir_model, args.outfile, args.outtype, use_quantized_model=args.use_quantized_model) diff --git a/scripts/run.py b/scripts/run.py index 501999cc1..d823edb05 100644 --- a/scripts/run.py +++ b/scripts/run.py @@ -163,7 +163,7 @@ def main(args_in: Optional[List[str]] = None) -> None: # Handles Missing token ID for gated models except Exception as e: if e.response.status_code == 401: - print("You are required to input an acccess token ID for {}, please add it in option --token or download model weights locally".format(args.model)) + print("You are required to input an access token ID for {}, please add it in option --token or download model weights locally".format(args.model)) sys.exit(f"{e}") parent_path = Path(__file__).parent.absolute()