From ba6e052994a914b556f66c4757511864eb898a48 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 24 Aug 2022 18:58:00 +0530 Subject: [PATCH] Show a message prompting people to open localhost:8000 in their browser; Disable autoreload for faster server startup --- server.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server.sh b/server.sh index 40f23546..fbe293fc 100644 --- a/server.sh +++ b/server.sh @@ -9,4 +9,7 @@ fi echo "Using docker image $IMAGE_NAME" docker run --name sd -d -p 5000:5000 --gpus all $IMAGE_NAME -uvicorn main:app --reload \ No newline at end of file +echo "Please open http://localhost:8000 in your favorite web browser!" + +uvicorn main:app +