Spaces:
Paused
Paused
is dit nodig?
Browse files
app.py
CHANGED
@@ -21,14 +21,14 @@ os.system(f"git clone {controlnet_repo_url} {initial_repo_path}/controlnet")
|
|
21 |
os.chdir(initial_repo_path)
|
22 |
|
23 |
os.system(f"git lfs install")
|
24 |
-
os.system(f"git reset --hard")
|
25 |
-
os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch_v2.py' modules/ui.py")
|
26 |
-
os.system(f"sed -i -e '253,258d' modules/ui_settings.py")
|
27 |
-
os.system(f"sed -i -e '186,228d' modules/ui_settings.py")
|
28 |
-
os.system(f"sed -i -e '171,178d' modules/ui_settings.py")
|
29 |
-
os.system(f"sed -i -e '108,113d' modules/ui_settings.py")
|
30 |
-
os.system(f"sed -i -e '225,227d' modules/ui_loadsave.py")
|
31 |
-
os.system(f"sed -i -e '214,217d' modules/ui_loadsave.py")
|
32 |
os.system(f"rm -rfv scripts/")
|
33 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/counterfeit-xl/resolve/main/counterfeitxl_v10.safetensors -d models/Stable-diffusion -o counterfeitxl_v10.safetensors")
|
34 |
# os.system(f"python launch.py --api --cors-allow-origins=* --xformers --theme dark --gradio-queue --ui-settings-file /home/user/app/shared-config_v2.json --ui-config-file /home/user/app/shared-ui-config_v2.json")
|
|
|
21 |
os.chdir(initial_repo_path)
|
22 |
|
23 |
os.system(f"git lfs install")
|
24 |
+
# os.system(f"git reset --hard")
|
25 |
+
# os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch_v2.py' modules/ui.py")
|
26 |
+
# os.system(f"sed -i -e '253,258d' modules/ui_settings.py")
|
27 |
+
# os.system(f"sed -i -e '186,228d' modules/ui_settings.py")
|
28 |
+
# os.system(f"sed -i -e '171,178d' modules/ui_settings.py")
|
29 |
+
# os.system(f"sed -i -e '108,113d' modules/ui_settings.py")
|
30 |
+
# os.system(f"sed -i -e '225,227d' modules/ui_loadsave.py")
|
31 |
+
# os.system(f"sed -i -e '214,217d' modules/ui_loadsave.py")
|
32 |
os.system(f"rm -rfv scripts/")
|
33 |
os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/counterfeit-xl/resolve/main/counterfeitxl_v10.safetensors -d models/Stable-diffusion -o counterfeitxl_v10.safetensors")
|
34 |
# os.system(f"python launch.py --api --cors-allow-origins=* --xformers --theme dark --gradio-queue --ui-settings-file /home/user/app/shared-config_v2.json --ui-config-file /home/user/app/shared-ui-config_v2.json")
|