Skip to content

Commit 5e974c7

Browse files
authored
Update download_script.py
1 parent c601794 commit 5e974c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download_script.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from huggingface_hub import snapshot_download
22
import argparse
3+
import os
34

45
if __name__ == '__main__':
56
parser = argparse.ArgumentParser()
@@ -38,7 +39,6 @@
3839
if args.proxy is not None:
3940
if args.proxy == "auto":
4041
args.proxy = "http://127.0.0.1:7890"
41-
import os
4242
os.environ["HTTP_PROXY"] = args.proxy
4343
os.environ["HTTPS_PROXY"] = args.proxy
4444

0 commit comments

Comments
 (0)