Skip to content

Commit de9a36c

Browse files
author
Bryannah Hernandez
committed
format fix
1 parent 6f34c61 commit de9a36c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/sagemaker/app.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,14 @@ async def main():
4848
"""Running server locally with uvicorn"""
4949
logger.info("Running")
5050
config = uvicorn.Config(
51-
"sagemaker.app:app", host="0.0.0.0", port=8000, log_level="info", loop="asyncio"
51+
"sagemaker.app:app",
52+
host="0.0.0.0",
53+
port=8000,
54+
log_level="info",
55+
loop="asyncio",
56+
reload=True,
57+
workers=3,
58+
use_colors=True,
5259
)
5360
server = uvicorn.Server(config)
5461
await server.serve()

0 commit comments

Comments
 (0)