diff --git a/scripts/check_modules.py b/scripts/check_modules.py index fc05e5f5..67077c88 100644 --- a/scripts/check_modules.py +++ b/scripts/check_modules.py @@ -284,10 +284,7 @@ def launch_uvicorn(): setup_amd_environment() print("\nLaunching uvicorn\n") - if os_name == "Windows": - os.system(f'uvicorn main:server_api --app-dir "{os.environ["SD_UI_PATH"]}" --port {listen_port} --host {bind_ip} --log-level error') - else: - os.system(f'python -m uvicorn main:server_api --app-dir "{os.environ["SD_UI_PATH"]}" --port {listen_port} --host {bind_ip} --log-level error') + os.system(f'python -m uvicorn main:server_api --app-dir "{os.environ["SD_UI_PATH"]}" --port {listen_port} --host {bind_ip} --log-level error') ### Start