newapi / app.py
habulaj's picture
Update app.py
813684b verified
raw
history blame contribute delete
237 Bytes
from fastapi import FastAPI, Request
from routers import profanity
# Instancia a aplicação FastAPI
app = FastAPI()
@app.get("/")
def greet_json():
return {"Hello": "World!"}
# Inclui as rotas
app.include_router(profanity.router)