Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
habulaj
/
newapi
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
04ebd2c
newapi
/
app.py
habulaj
Update app.py
813684b
verified
about 1 month ago
raw
Copy download link
history
blame
Safe
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)