Pipertts / app.py
Gregniuki's picture
Rename main to app.py
5446ba7
raw
history blame
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!"}