Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import os
|
2 |
#import huggingface_hub
|
3 |
-
from huggingface_hub import snapshot_download
|
4 |
-
import open_oasis_master as oa
|
|
|
|
|
|
|
|
|
5 |
os.system("python ./open_oasis_master/generate.py")
|
6 |
'''os.system("git clone https://github.com/etched-ai/open-oasis.git")
|
7 |
os.system("cd open-oasis")
|
|
|
1 |
import os
|
2 |
#import huggingface_hub
|
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")
|
10 |
'''os.system("git clone https://github.com/etched-ai/open-oasis.git")
|
11 |
os.system("cd open-oasis")
|