stlaurentjr commited on
Commit
19326d2
·
1 Parent(s): 9a63e88

Update scripts/mainrunpodA1111.py

Browse files
Files changed (1) hide show
  1. scripts/mainrunpodA1111.py +4 -0
scripts/mainrunpodA1111.py CHANGED
@@ -60,6 +60,10 @@ def Deps(force_reinstall):
60
  os.environ['TORCH_HOME'] = '/workspace/cache/torch'
61
  os.environ['PYTHONWARNINGS'] = 'ignore'
62
  call("sed -i 's@text = _formatwarnmsg(msg)@text =\"\"@g' /usr/lib/python3.10/warnings.py", shell=True)
 
 
 
 
63
  clear_output()
64
  done()
65
 
 
60
  os.environ['TORCH_HOME'] = '/workspace/cache/torch'
61
  os.environ['PYTHONWARNINGS'] = 'ignore'
62
  call("sed -i 's@text = _formatwarnmsg(msg)@text =\"\"@g' /usr/lib/python3.10/warnings.py", shell=True)
63
+ # Создаём файл-маркер после успешного выполнения установок
64
+ with open(marker_file, 'w') as f:
65
+ f.write('Setup complete')
66
+
67
  clear_output()
68
  done()
69