Merge pull request #1406 from JeLuF/relocate

Fix uvicorn issues after reloacting install dir
This commit is contained in:
cmdr2 2023-07-13 12:17:55 +05:30 committed by GitHub
commit 0661b9ba5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ call python --version
@rem set any overrides
set HF_HUB_DISABLE_SYMLINKS_WARNING=true
@uvicorn main:server_api --app-dir "%SD_UI_PATH%" --port %ED_BIND_PORT% --host %ED_BIND_IP% --log-level error
@python -m uvicorn main:server_api --app-dir "%SD_UI_PATH%" --port %ED_BIND_PORT% --host %ED_BIND_IP% --log-level error
@pause