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",
|
help="show the log messages",
|
||||||
),
|
),
|
||||||
):
|
):
|
||||||
uvicorn.run(
|
uvicorn.run(**get_config().api_server.dict())
|
||||||
"learn_sql_model.api.app:app",
|
|
||||||
port=get_config().port,
|
|
||||||
log_level="info",
|
|
||||||
reload=True,
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue