nostalgebraist commited on
Commit
e4b5feb
·
1 Parent(s): 1022afb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ DIFFUSION_DEFAULTS = dict(
19
  yield_intermediates=True
20
  )
21
 
22
- @st.cache
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-dev && pip install -e .")
 
19
  yield_intermediates=True
20
  )
21
 
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-dev && pip install -e .")