Zaws / app /main.py
SilentWraith's picture
version 1.0
de68d43
raw
history blame contribute delete
293 Bytes
import os
import uvicorn
from fastapi import FastAPI
from routers.screenshot import router as screenshot_router
app = FastAPI()
app.include_router(screenshot_router)
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=int(os.getenv("PORT", default="7860"))) # noqa: S104