coderMayank69's picture
added server entry pointand uv lock
7c81a00
Raw History Blame Contribute Delete
240 Bytes
from __future__ import annotations
import os
import uvicorn
from app.main import app
def main() -> None:
port = int(os.getenv("PORT", "7860"))
uvicorn.run(app, host="0.0.0.0", port=port)
if __name__ == "__main__":
main()