Spaces:
Runtime error
Runtime error
IAmXenos21
commited on
Commit
•
77fad5e
1
Parent(s):
2410d08
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,8 @@ os.system(f"sed -i -e 's/shared.demo.launch/shared.demo.queue().launch/g' /home/
|
|
25 |
os.system(f"sed -i -e 's/ outputs=\[/queue=False, &/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
26 |
os.system(f"sed -i -e 's/ queue=False, / /g' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
27 |
|
|
|
|
|
28 |
if "IS_SHARED_UI" in os.environ:
|
29 |
os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
|
30 |
|
|
|
25 |
os.system(f"sed -i -e 's/ outputs=\[/queue=False, &/g' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
26 |
os.system(f"sed -i -e 's/ queue=False, / /g' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
27 |
|
28 |
+
os.system("apt-get install libgoogle-perftools-dev -y")
|
29 |
+
|
30 |
if "IS_SHARED_UI" in os.environ:
|
31 |
os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
|
32 |
|