Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
import os
|
2 |
-
|
|
|
3 |
|
4 |
os.system("git clone https://github.com/etched-ai/open-oasis.git")
|
5 |
os.system("cd open-oasis")
|
6 |
os.system("pip install -r open-oasis/requirements.txt")
|
7 |
oas = hf_hub_download(repo_id="Etched/oasis-500m", token=None, filename="oasis500m.pt")
|
8 |
vit = hf_hub_download(repo_id="Etched/oasis-500m", token=None, filename="vit-l-20.pt")
|
9 |
-
print(oas,vit)
|
|
|
|
1 |
import os
|
2 |
+
import gradio as gr
|
3 |
+
'''from huggingface_hub import hf_hub_download
|
4 |
|
5 |
os.system("git clone https://github.com/etched-ai/open-oasis.git")
|
6 |
os.system("cd open-oasis")
|
7 |
os.system("pip install -r open-oasis/requirements.txt")
|
8 |
oas = hf_hub_download(repo_id="Etched/oasis-500m", token=None, filename="oasis500m.pt")
|
9 |
vit = hf_hub_download(repo_id="Etched/oasis-500m", token=None, filename="vit-l-20.pt")
|
10 |
+
print(oas,vit)'''
|
11 |
+
gr.load("Etched/oasis-500m").launch()
|