Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
carlfeynman
/
mnist
like
0
Runtime error
App
Files
Files
Community
bfc39e7
mnist
/
server.py
carlfeynman
fastapi api server added
bfc39e7
over 1 year ago
raw
Copy download link
history
blame
132 Bytes
from
fastapi
import
FastAPI
app = FastAPI()
@app.post(
"/predict"
)
async
def
predict
():
return
{
"prediction"
:
"Hello, World!"
}