| 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) | |
| 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) | |