configure the server
This commit is contained in:
parent
44ada8938d
commit
ad6471da8c
1 changed files with 1 additions and 6 deletions
|
|
@ -26,9 +26,4 @@ def run(
|
|||
help="show the log messages",
|
||||
),
|
||||
):
|
||||
uvicorn.run(
|
||||
"learn_sql_model.api.app:app",
|
||||
port=get_config().port,
|
||||
log_level="info",
|
||||
reload=True,
|
||||
)
|
||||
uvicorn.run(**get_config().api_server.dict())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue