face-intel / app.py
Marwan
Restructure + add reverse face search (PimEyes-style)
f5eeb1c
Raw
History Blame Contribute Delete
486 Bytes
"""
Application entry point.
Run with:
uvicorn app:app --host 0.0.0.0 --port 8000 --reload
or directly:
python app.py
"""
from __future__ import annotations
import uvicorn
from api.main import create_app
from config.settings import settings
app = create_app(settings)
if __name__ == "__main__":
uvicorn.run(
"app:app",
host=settings.host,
port=settings.port,
reload=settings.debug,
log_level=settings.log_level.lower(),
)