File size: 293 Bytes
de68d43
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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