Update pull_pic_from_hf.py
Browse files- 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 |
-
|
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 |
|