Spaces:
Runtime error
Runtime error
| from fastapi import FastAPI, Request | |
| from routers import news | |
| from routers import curiosity | |
| from routers import memoriam | |
| from routers import getnews | |
| from routers import filter | |
| from routers import inference | |
| from routers import subtitle | |
| from routers import image | |
| from routers import analyze | |
| from routers import search | |
| from routers import twitter | |
| from routers import searchterm | |
| from routers import inference_createposter | |
| from routers import cronjob | |
| # Instancia a aplicação FastAPI | |
| app = FastAPI() | |
| def greet_json(): | |
| return {"Hello": "World!"} | |
| # Inclui as rotas | |
| app.include_router(news.router) | |
| app.include_router(curiosity.router) | |
| app.include_router(memoriam.router) | |
| app.include_router(getnews.router) | |
| app.include_router(filter.router) | |
| app.include_router(inference.router) | |
| app.include_router(subtitle.router) | |
| app.include_router(image.router) | |
| app.include_router(analyze.router) | |
| app.include_router(search.router) | |
| app.include_router(twitter.router) | |
| app.include_router(searchterm.router) | |
| app.include_router(inference_createposter.router) | |
| app.include_router(cronjob.router) |