Spaces:
Running
Running
File size: 414 Bytes
56083df 95c4982 04cc956 56083df 95c4982 04cc956 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from fastapi import FastAPI, Request
from routers import news
from routers import image
from routers import memoriam
from routers import video
# Instancia a aplicação FastAPI
app = FastAPI()
@app.get("/")
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) |