Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jerry Chen <[email protected]>
  • Loading branch information
irenedea and jerrychen109 authored Jan 23, 2024
1 parent 7d25936 commit ee5f2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/misc/download_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def parse_args() -> argparse.Namespace:
download_from = args.download_from

if download_from == 'http':
if args.tokenizer_only == True:
if args.tokenizer_only:
raise ValueError(
'tokenizer-only is not currently supported for http.')
try:
Expand Down

0 comments on commit ee5f2bf

Please sign in to comment.