Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Gregniuki
/
Pipertts
like
6
Running
App
Files
Files
Community
1
38b2021
Pipertts
/
app
/
app.py
Gregniuki
Create app/app.py
d78c848
about 1 year ago
raw
Copy download link
history
blame
Safe
198 Bytes
from
fastapi
import
FastAPI
# Create an instance of the FastAPI class
app = FastAPI()
# Define a route for the root endpoint
@app.get(
"/"
)
def
read_root
():
return
{
"message"
:
"Hello, World!"
}