cot-anc / app /cli /run_api.py
BART-ender's picture
Deploy Thought Anchors
fda8fb3 verified
raw
history blame contribute delete
322 Bytes
from __future__ import annotations
import uvicorn
from app.core.config import get_settings
def main() -> None:
settings = get_settings()
uvicorn.run(
"app.api.main:app",
host=settings.api_host,
port=settings.api_port,
reload=False,
)
if __name__ == "__main__":
main()