Refactor server.py

This commit is contained in:
cmdr2
2022-12-24 15:29:49 +05:30
parent e0b33a4feb
commit a4728190c0
4 changed files with 60 additions and 34 deletions

View File

@ -275,6 +275,6 @@ cd ..
export SD_UI_PATH=`pwd`/ui
cd stable-diffusion
uvicorn server:server_api --app-dir "$SD_UI_PATH" --port ${SD_UI_BIND_PORT:-9000} --host ${SD_UI_BIND_IP:-0.0.0.0} --log-level error
uvicorn main:server_api --app-dir "$SD_UI_PATH" --port ${SD_UI_BIND_PORT:-9000} --host ${SD_UI_BIND_IP:-0.0.0.0} --log-level error
read -p "Press any key to continue"