Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
habulaj
/
newapi
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8aade40
newapi
/
app.py
habulaj
Update app.py
3a62be7
4 months ago
raw
Copy download link
history
blame
Safe
239 Bytes
from
fastapi
import
FastAPI
from
routers
import
profanity
# Importa a rota de palavrões
app = FastAPI()
@app.get(
"/"
)
def
greet_json
():
return
{
"Hello"
:
"World!"
}
# Inclui as rotas de profanity
app.include_router(profanity.router)