Shinegupta's picture
Add OpenEnv Support Triage environment and deployment assets
f4e02da
raw
history blame contribute delete
222 Bytes
from __future__ import annotations
import os
import uvicorn
def main() -> None:
host = os.getenv("HOST", "0.0.0.0")
port = int(os.getenv("PORT", "7860"))
uvicorn.run("server.app:app", host=host, port=port)