openenv / server /cli.py
AnkushRaheja's picture
Upload 22 files
042e419 verified
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)