tree3po commited on
Commit
fc7a6ef
1 Parent(s): ec07bb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  #from huggingface_hub import snapshot_download
4
  #import open_oasis_master as oa
5
 
6
- os.system("huggingface-cli login")
7
  os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt") # DiT checkpoint
8
  os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt")
9
  os.system("python ./open_oasis_master/generate.py")
 
3
  #from huggingface_hub import snapshot_download
4
  #import open_oasis_master as oa
5
 
6
+ os.system("huggingface-cli login --token $HF_TOKEN --add-to-git-credential")
7
  os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt") # DiT checkpoint
8
  os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt")
9
  os.system("python ./open_oasis_master/generate.py")