kaanyarali1
try fastapi
65226cd
raw
history blame
219 Bytes
from fastapi import FastAPI
# Create an instance of the FastAPI class
app = FastAPI()
# Define a route for the root endpoint
@app.get("/")
async def read_root():
return {"message": "Hello, Hugging Face Spaces!"}