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