Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,6 @@ os.system("pip install -r open-oasis/requirements.txt")
|
|
6 |
#os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt") # DiT checkpoint
|
7 |
#os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt")
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
-
oas = hf_hub_download(repo_id="Etched/oasis-500m", filename="oasis500m.pt")
|
10 |
-
vit = hf_hub_download(repo_id="Etched/oasis-500m", filename="vit-l-20.pt")
|
11 |
print(oas,vit)
|
|
|
6 |
#os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt") # DiT checkpoint
|
7 |
#os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt")
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
+
oas = hf_hub_download(repo_id="Etched/oasis-500m", token=None, filename="oasis500m.pt")
|
10 |
+
vit = hf_hub_download(repo_id="Etched/oasis-500m", token=None filename="vit-l-20.pt")
|
11 |
print(oas,vit)
|