TheLastBen commited on
Commit
bfad4e9
1 Parent(s): 77cc90e

Update Scripts/mainpaperspacev1.py

Browse files
Files changed (1) hide show
  1. Scripts/mainpaperspacev1.py +2 -1
Scripts/mainpaperspacev1.py CHANGED
@@ -786,7 +786,8 @@ def test(Custom_Path, Previous_Session_Name, Session_Name, User, Password, Use_l
786
  call('rm srv.txt srvr.txt', shell=True)
787
 
788
  os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
789
- call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
 
790
  call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
791
  os.chdir('/notebooks/sd/stable-diffusion-webui')
792
  clear_output()
 
786
  call('rm srv.txt srvr.txt', shell=True)
787
 
788
  os.chdir('/notebooks/sd/stable-diffusion-webui/modules')
789
+ call('wget -q -O paths.py https://raw.githubusercontent.com/TheLastBen/fast-stable-diffusion/main/AUTOMATIC1111_files/paths.py', shell=True)
790
+ 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)
791
  call("sed -i 's@/content/gdrive/MyDrive/sd/stablediffusion@/notebooks/sd/stablediffusion@' /notebooks/sd/stable-diffusion-webui/modules/paths.py", shell=True)
792
  os.chdir('/notebooks/sd/stable-diffusion-webui')
793
  clear_output()