0fa8907
1
2
3
4
5
6
7
8
9
10
11
12
from fastapi import FastAPI app = FastAPI() @app.get("/") def root(): return {"message": "Hello from Hugging Face Docker!"} @app.get("/replacement") def get_replacement(): return {"text": "This is from the server!"}