Spaces:
Running
Running
| from fastapi import FastAPI, Request | |
| from routers import news | |
| from routers import image | |
| from routers import memoriam | |
| from routers import video | |
| from routers import subtitle | |
| from routers import cover | |
| # Instancia a aplicação FastAPI | |
| app = FastAPI() | |
| def greet_json(): | |
| return {"Hello": "World!"} | |
| # Inclui as rotas | |
| app.include_router(news.router) | |
| app.include_router(image.router) | |
| app.include_router(memoriam.router) | |
| app.include_router(video.router) | |
| app.include_router(subtitle.router) | |
| app.include_router(cover.router) |