Log-processor / app.py
iiioooiso6205's picture
clean HF deploy (no binaries)
58ef7d4
Raw History Blame Contribute Delete
306 Bytes
"""
Entrypoint. Runs the FastAPI app in `backend.main` using Uvicorn.
Use this as the single entry point for local runs and Hugging Face Spaces.
"""
import os
import uvicorn
if __name__ == '__main__':
port = int(os.getenv('PORT', 7860))
uvicorn.run('backend.main:app', host='0.0.0.0', port=port)