stlaurentjr commited on
Commit
94d67b8
1 Parent(s): fc79ea1

Update scripts/mainrunpodA1111.py

Browse files
Files changed (1) hide show
  1. scripts/mainrunpodA1111.py +3 -4
scripts/mainrunpodA1111.py CHANGED
@@ -22,16 +22,15 @@ import zipfile
22
 
23
 
24
  def Deps(force_reinstall):
25
-
 
 
26
  if not force_reinstall and os.path.exists('/usr/local/lib/python3.10/dist-packages/safetensors'):
27
  ntbks()
28
  print('Modules and notebooks updated, dependencies already installed')
29
  os.environ['TORCH_HOME'] = '/workspace/cache/torch'
30
  os.environ['PYTHONWARNINGS'] = 'ignore'
31
  else:
32
- import os
33
- from subprocess import call
34
- import venv
35
 
36
  # Создание виртуального окружения
37
  venv_dir = '/workspace/venv'
 
22
 
23
 
24
  def Deps(force_reinstall):
25
+ import os
26
+ from subprocess import call
27
+ import venv
28
  if not force_reinstall and os.path.exists('/usr/local/lib/python3.10/dist-packages/safetensors'):
29
  ntbks()
30
  print('Modules and notebooks updated, dependencies already installed')
31
  os.environ['TORCH_HOME'] = '/workspace/cache/torch'
32
  os.environ['PYTHONWARNINGS'] = 'ignore'
33
  else:
 
 
 
34
 
35
  # Создание виртуального окружения
36
  venv_dir = '/workspace/venv'