TheLastBen
commited on
Commit
•
8547456
1
Parent(s):
e96d0c7
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -259,7 +259,8 @@ def sd(User, Password, Use_localtunnel, model):
|
|
259 |
call('rm srv.txt srvr.txt', shell=True)
|
260 |
|
261 |
os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
|
262 |
-
call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
|
|
|
263 |
call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
|
264 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
265 |
clear_output()
|
|
|
259 |
call('rm srv.txt srvr.txt', shell=True)
|
260 |
|
261 |
os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
|
262 |
+
call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
|
263 |
+
call("sed -i '[email protected]_ui().*@ui.create_ui();shared.demo.queue(concurrency_count=999999,status_update_rate=0.1)@' /notebooks/sd/stable-diffusion-webui/webui.py", shell=True)
|
264 |
call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
|
265 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
266 |
clear_output()
|