Spaces:
Running
Running
Commit
·
9a63e88
1
Parent(s):
c3addc8
Update scripts/mainrunpodA1111.py
Browse files
scripts/mainrunpodA1111.py
CHANGED
@@ -24,7 +24,7 @@ import zipfile
|
|
24 |
def Deps(force_reinstall):
|
25 |
# Определяем путь к файлу-маркеру
|
26 |
marker_file = '/workspace/setup_complete'
|
27 |
-
if not force_reinstall and
|
28 |
ntbks()
|
29 |
print('[1;32mModules and notebooks updated, dependencies already installed')
|
30 |
os.environ['TORCH_HOME'] = '/workspace/cache/torch'
|
|
|
24 |
def Deps(force_reinstall):
|
25 |
# Определяем путь к файлу-маркеру
|
26 |
marker_file = '/workspace/setup_complete'
|
27 |
+
if not force_reinstall and os.path.exists(marker_file):
|
28 |
ntbks()
|
29 |
print('[1;32mModules and notebooks updated, dependencies already installed')
|
30 |
os.environ['TORCH_HOME'] = '/workspace/cache/torch'
|