Rural_Water / server /app.py
KaustavMP
Initial commit
dc0ae2c
Raw History Blame Contribute Delete
277 Bytes
from __future__ import annotations
import os
import uvicorn
from main import app
def main() -> None:
port = int(os.getenv("PORT", "7860"))
uvicorn.run("server.app:app", host="0.0.0.0", port=port)
__all__ = ["app", "main"]
if __name__ == "__main__":
main()