any2human / app /app.py
idnameraj's picture
Upload 38 files
4b8cd66 verified
Raw
History Blame Contribute Delete
339 Bytes
"""Application entrypoint — serves React UI + rewrite API."""
from __future__ import annotations
import os
import uvicorn
if __name__ == "__main__":
host = os.environ.get("HOST", "0.0.0.0")
port = int(os.environ.get("PORT", "7860") or "7860")
uvicorn.run("app.main:app", host=host, port=port, reload=False)