licyk commited on
Commit
f5bd294
·
verified ·
1 Parent(s): 796b64b

Update pull_pic_from_hf.py

Browse files
Files changed (1) hide show
  1. pull_pic_from_hf.py +1 -2
pull_pic_from_hf.py CHANGED
@@ -129,8 +129,7 @@ def main():
129
  args = get_args()
130
 
131
  if args.hf_token is None:
132
- logging.error("缺失 HF Token")
133
- return
134
  else:
135
  hf_token = args.hf_token
136
 
 
129
  args = get_args()
130
 
131
  if args.hf_token is None:
132
+ hf_token = None
 
133
  else:
134
  hf_token = args.hf_token
135