Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ if("A10G" in gpu_info):
|
|
6 |
os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl")
|
7 |
elif("T4" in gpu_info):
|
8 |
os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
|
9 |
-
os.system(f"git clone https://github.com/Rusbelito/inestabvle-difucion /home/user/app/stable-diffusion-webui")
|
10 |
-
os.chdir("/home/user/app/stable-diffusion-webui")
|
11 |
|
12 |
os.system(f"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
|
13 |
os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
|
|
6 |
os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl")
|
7 |
elif("T4" in gpu_info):
|
8 |
os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
|
9 |
+
os.system(f" ! git clone https://github.com/Rusbelito/inestabvle-difucion /home/user/app/stable-diffusion-webui")
|
10 |
+
os.chdir(f"/home/user/app/stable-diffusion-webui")
|
11 |
|
12 |
os.system(f"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
|
13 |
os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|