mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-28 09:08:54 +00:00
live-previews: restart comfy at least once if we fail for unknown reasons
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
set -ex
|
||||
|
||||
cd /app
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
date > /restart.txt
|
||||
|
||||
echo /restart.txt | entr -nrz timeout -k 5 0 python main.py --listen 0.0.0.0 --highvram --disable-metadata
|
||||
Reference in New Issue
Block a user