Spaces:
Sleeping
Sleeping
Update private_gpt/__main__.py
Browse files- private_gpt/__main__.py +2 -2
private_gpt/__main__.py
CHANGED
@@ -8,5 +8,5 @@ from private_gpt.settings.settings import settings
|
|
8 |
# Set log_config=None to do not use the uvicorn logging configuration, and
|
9 |
# use ours instead. For reference, see below:
|
10 |
# https://github.com/tiangolo/fastapi/discussions/7457#discussioncomment-5141108
|
11 |
-
|
12 |
-
|
|
|
8 |
# Set log_config=None to do not use the uvicorn logging configuration, and
|
9 |
# use ours instead. For reference, see below:
|
10 |
# https://github.com/tiangolo/fastapi/discussions/7457#discussioncomment-5141108
|
11 |
+
|
12 |
+
uvicorn.run(app, host="0.0.0.0", port=settings().server.port, log_config=None)
|