From 2b37d8e438ff6285b586ca92cc165f52d1f5afdc Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Wed, 31 Jan 2024 10:37:19 -0500 Subject: [PATCH] fix: Run server command. Closes #1143 --- examples/high_level_api/fastapi_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/high_level_api/fastapi_server.py b/examples/high_level_api/fastapi_server.py index 4b3189d..9421db5 100644 --- a/examples/high_level_api/fastapi_server.py +++ b/examples/high_level_api/fastapi_server.py @@ -9,7 +9,7 @@ export MODEL=../models/7B/... Then run: ``` -uvicorn llama_cpp.server.app:app --reload +uvicorn --factory llama_cpp.server.app:create_app --reload ``` or