Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Alias-z committed Jan 28, 2024
1 parent 7506983 commit a345216
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def download_file_from_google_drive(url, destination):
file.write(chunk)

os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
os.environ['HUGGINGFACE_TOKEN'] = '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'
os.system('huggingface-cli login $HUGGINGFACE_TOKEN')
os.system('huggingface-cli download --resume-download maidalun1020/bce-embedding-base_v1 --local-dir model/bce-embedding-base_v1')
os.system('huggingface-cli download --resume-download maidalun1020/bce-reranker-base_v1 --local-dir model/bce-reranker-base_v1')
Expand Down

0 comments on commit a345216

Please sign in to comment.