TheLastBen
commited on
Commit
·
6e8a75f
1
Parent(s):
b9bb020
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -7,7 +7,6 @@ import fileinput
|
|
7 |
import ipywidgets as widgets
|
8 |
|
9 |
|
10 |
-
|
11 |
def Deps(force_reinstall):
|
12 |
|
13 |
if not force_reinstall and os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
@@ -40,8 +39,7 @@ def Deps(force_reinstall):
|
|
40 |
call('wget -q -i https://huggingface.co/datasets/TheLastBen/PPS/raw/main/Notebooks.txt', shell=True)
|
41 |
call('rm Notebooks.txt', shell=True)
|
42 |
os.chdir('/notebooks')
|
43 |
-
|
44 |
-
os.chdir('/notebooks')
|
45 |
if not os.path.exists('/models'):
|
46 |
call('mkdir /models', shell=True)
|
47 |
if not os.path.exists('/notebooks/models'):
|
@@ -68,7 +66,6 @@ def Deps(force_reinstall):
|
|
68 |
done()
|
69 |
|
70 |
|
71 |
-
|
72 |
def repo():
|
73 |
|
74 |
print('[1;32mInstalling/Updating the repo...')
|
|
|
7 |
import ipywidgets as widgets
|
8 |
|
9 |
|
|
|
10 |
def Deps(force_reinstall):
|
11 |
|
12 |
if not force_reinstall and os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
|
|
39 |
call('wget -q -i https://huggingface.co/datasets/TheLastBen/PPS/raw/main/Notebooks.txt', shell=True)
|
40 |
call('rm Notebooks.txt', shell=True)
|
41 |
os.chdir('/notebooks')
|
42 |
+
|
|
|
43 |
if not os.path.exists('/models'):
|
44 |
call('mkdir /models', shell=True)
|
45 |
if not os.path.exists('/notebooks/models'):
|
|
|
66 |
done()
|
67 |
|
68 |
|
|
|
69 |
def repo():
|
70 |
|
71 |
print('[1;32mInstalling/Updating the repo...')
|