Hemanth Kunta
Meta hackathon submission
91e7690
raw
history blame contribute delete
297 Bytes
from __future__ import annotations
import os
import uvicorn
from env.app import app
def main() -> None:
host = os.environ.get("HOST", "0.0.0.0")
port = int(os.environ.get("PORT", "7860"))
uvicorn.run("server.app:app", host=host, port=port)
if __name__ == "__main__":
main()