TheLastBen
commited on
Commit
·
9680a91
1
Parent(s):
66b703d
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -23,7 +23,7 @@ def Deps(force_reinstall):
|
|
23 |
print('[1;32mModules and notebooks updated, dependencies already installed')
|
24 |
|
25 |
else:
|
26 |
-
print('[1;
|
27 |
call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
|
28 |
if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
29 |
os.chdir('/usr/local/lib/python3.9/dist-packages')
|
@@ -178,7 +178,7 @@ def sd(User, Password, Use_localtunnel):
|
|
178 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
179 |
clear_output()
|
180 |
|
181 |
-
configf="--disable-console-progressbars --no-half-vae --disable-safe-unpickle --api --xformers --medvram --skip-version-check "+auth+" "+share
|
182 |
|
183 |
return configf
|
184 |
|
|
|
23 |
print('[1;32mModules and notebooks updated, dependencies already installed')
|
24 |
|
25 |
else:
|
26 |
+
print('[1;33mInstalling the dependencies...')
|
27 |
call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
|
28 |
if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
29 |
os.chdir('/usr/local/lib/python3.9/dist-packages')
|
|
|
178 |
os.chdir('/notebooks/sd/stable-diffusion-webui')
|
179 |
clear_output()
|
180 |
|
181 |
+
configf="--disable-console-progressbars --no-half-vae --disable-safe-unpickle --api --xformers --enable-insecure-extension-access --medvram --skip-version-check "+auth+" "+share
|
182 |
|
183 |
return configf
|
184 |
|