65226cd 87e455f 65226cd 87e455f 65226cd 87e455f
1
2
3
4
5
6
7
8
9
10
11
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!"}