diff --git a/README.md b/README.md index 3338125ba..3318a8e35 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,6 @@ Start in default mode with optimizations enabled - Python: 3.10.6 Torch: 2.0.0.dev20230224+cu118 CUDA: 11.8 cuDNN: 8700 GPU: NVIDIA GeForce RTX 3060 Arch: (8, 6) Launching Web UI -> ./automatic.sh public - -Start with listen on public IP with authentication enabled - > ./automatic.sh clean Start with all optimizations disabled @@ -68,10 +64,20 @@ Installs and updates to latest supported version: - Extensions - Sub-modules +Does not update main repository + > ./automatic.sh update -Updates the main repository to the latest version -Recommended to run `install` after `update` +Updates the main repository to the latest version +Recommended to run `install` after `update` to update dependencies as they may have changed + +> ./automatic.sh help + +Print all available options + +> ./automatic.sh public + +Start with listen on public IP with authentication enabled
diff --git a/automatic.sh b/automatic.sh index 0b0841672..857b3f924 100755 --- a/automatic.sh +++ b/automatic.sh @@ -43,6 +43,9 @@ for i in "$@"; do clean) MODE=clean ;; + help) + MODE=help + ;; *) CMD="$CMD $i" ;; @@ -94,6 +97,11 @@ if [ "$MODE" == update ]; then exit 0 fi +if [ "$MODE" == help ]; then + "$PYTHON" webui.py --help + exit 0 +fi + if [ "$MODE" == install ]; then "$PYTHON" -m pip --version