Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse filesremoved anything, added OpenGen
app.py
CHANGED
|
@@ -27,8 +27,13 @@ os.system(f"wget -q https://github.com/camenduru/webui/raw/main/header_patch.py
|
|
| 27 |
os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
| 28 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
if "IS_SHARED_UI" in os.environ:
|
| 34 |
os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
|
|
|
|
| 27 |
os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
| 28 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
| 29 |
|
| 30 |
+
# ------------------------------------ OpenGen Model ----------------------------------------------------------------------
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
os.system(f"wget -q https://huggingface.co/darkstorm2150/OpenGen/resolve/main/OpenGen%20v1.0.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/OpenGen_v1.0.safetensors")
|
| 34 |
+
|
| 35 |
+
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
| 36 |
+
|
| 37 |
|
| 38 |
if "IS_SHARED_UI" in os.environ:
|
| 39 |
os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
|