Spaces:
Runtime error
Runtime error
Commit
·
75261b1
1
Parent(s):
7943576
fix
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ DIFFUSION_DEFAULTS = dict(
|
|
22 |
@st.experimental_singleton
|
23 |
def setup():
|
24 |
import os, subprocess, sys
|
25 |
-
os.system("git clone https://github.com/nostalgebraist/improved-diffusion.git && cd improved-diffusion && git fetch origin nbar-space && git checkout nbar-
|
26 |
os.system("pip install tokenizers x-transformers==0.22.0 axial-positional-embedding")
|
27 |
os.system("pip install einops==0.3.2")
|
28 |
sys.path.append("improved-diffusion")
|
|
|
22 |
@st.experimental_singleton
|
23 |
def setup():
|
24 |
import os, subprocess, sys
|
25 |
+
os.system("git clone https://github.com/nostalgebraist/improved-diffusion.git && cd improved-diffusion && git fetch origin nbar-space && git checkout nbar-space && pip install -e .")
|
26 |
os.system("pip install tokenizers x-transformers==0.22.0 axial-positional-embedding")
|
27 |
os.system("pip install einops==0.3.2")
|
28 |
sys.path.append("improved-diffusion")
|