Spaces:
Runtime error
Runtime error
| from fastapi import FastAPI | |
| # Create an instance of the FastAPI class | |
| app = FastAPI() | |
| # Define a route for the root endpoint | |
| async def read_root(): | |
| return {"message": "Hello, Hugging Face Spaces!"} | |