newapi / app.py
habulaj's picture
Update app.py
d77179f
raw
history blame
293 Bytes
from fastapi import FastAPI
from routers import profanity, other_route # Importa as rotas
app = FastAPI()
@app.get("/")
def greet_json():
return {"Hello": "World!"}
# Inclui as rotas
app.include_router(profanity.router)
app.include_router(other_route.router) # Inclui a rota adicional