Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|