Commit
·
b669ec5
1
Parent(s):
1b1b0cf
pytorch3d as a download
Browse files- app.py +2 -0
- requirements.txt +0 -1
app.py
CHANGED
@@ -26,6 +26,7 @@ def gitclone(url):
|
|
26 |
@st.cache
|
27 |
def initial_clones():
|
28 |
model_path = f'.'
|
|
|
29 |
gitclone("https://github.com/CompVis/taming-transformers.git")
|
30 |
gitclone("https://github.com/openai/CLIP.git")
|
31 |
gitclone("https://github.com/crowsonkb/guided-diffusion.git")
|
@@ -47,6 +48,7 @@ def initial_clones():
|
|
47 |
sys.path.append("./taming-transformers")
|
48 |
sys.path.append("./disco-diffusion")
|
49 |
sys.path.append("./AdaBins")
|
|
|
50 |
|
51 |
# Horrible hacks below, Streamlit really makes your life hard when it comes to customzing
|
52 |
custom_css = """
|
|
|
26 |
@st.cache
|
27 |
def initial_clones():
|
28 |
model_path = f'.'
|
29 |
+
gitclone("https://github.com/MSFTserver/pytorch3d-lite.git")
|
30 |
gitclone("https://github.com/CompVis/taming-transformers.git")
|
31 |
gitclone("https://github.com/openai/CLIP.git")
|
32 |
gitclone("https://github.com/crowsonkb/guided-diffusion.git")
|
|
|
48 |
sys.path.append("./taming-transformers")
|
49 |
sys.path.append("./disco-diffusion")
|
50 |
sys.path.append("./AdaBins")
|
51 |
+
sys.path.append('./pytorch3d-lite')
|
52 |
|
53 |
# Horrible hacks below, Streamlit really makes your life hard when it comes to customzing
|
54 |
custom_css = """
|
requirements.txt
CHANGED
@@ -12,5 +12,4 @@ kora
|
|
12 |
imageio
|
13 |
kornia
|
14 |
pathvalidate
|
15 |
-
-e git+https://github.com/MSFTserver/pytorch3d-lite.git#egg=pytorch3d-lite
|
16 |
torch
|
|
|
12 |
imageio
|
13 |
kornia
|
14 |
pathvalidate
|
|
|
15 |
torch
|