TheLastBen
commited on
Commit
·
e96d0c7
1
Parent(s):
bfad4e9
Update Scripts/mainpaperspacev2.py
Browse files
Scripts/mainpaperspacev2.py
CHANGED
@@ -793,7 +793,8 @@ def test(Custom_Path, Previous_Session_Name, Session_Name, User, Password, Use_l
|
|
793 |
call('rm srv.txt srvr.txt', shell=True)
|
794 |
|
795 |
os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
|
796 |
-
call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
|
|
|
797 |
call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
|
798 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
799 |
clear_output()
|
|
|
793 |
call('rm srv.txt srvr.txt', shell=True)
|
794 |
|
795 |
os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
|
796 |
+
call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
|
797 |
+
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)
|
798 |
call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
|
799 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
800 |
clear_output()
|