TheLastBen
commited on
Commit
•
37bb0f0
1
Parent(s):
8bcde0e
Update Scripts/mainpaperspacev2.py
Browse files
Scripts/mainpaperspacev2.py
CHANGED
@@ -812,7 +812,8 @@ def test(Custom_Path, Previous_Session_Name, Session_Name, User, Password, Use_l
|
|
812 |
os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
|
813 |
call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
|
814 |
call("sed -i 's@ui.create_ui().*@ui.create_ui();shared.demo.queue(concurrency_count=999999,status_update_rate=0.1)@' /notebooks/sd/stable-diffusion-webui/webui.py", shell=True)
|
815 |
-
call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
|
|
|
816 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
817 |
clear_output()
|
818 |
|
|
|
812 |
os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
|
813 |
call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
|
814 |
call("sed -i 's@ui.create_ui().*@ui.create_ui();shared.demo.queue(concurrency_count=999999,status_update_rate=0.1)@' /notebooks/sd/stable-diffusion-webui/webui.py", shell=True)
|
815 |
+
call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
|
816 |
+
call("sed -i 's@\"quicksettings\": OptionInfo(.*@\"quicksettings\": OptionInfo(\"sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, inpainting_mask_weight, initial_noise_multiplier\", \"Quicksettings list\"),@' /notebooks/sd/stable-diffusion-webui/modules/shared.py", shell=True)
|
817 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
818 |
clear_output()
|
819 |
|