Spaces:
Runtime error
Runtime error
carlfeynman
commited on
Commit
•
895189e
1
Parent(s):
ab68380
local storage removed
Browse files
server.py
CHANGED
@@ -38,5 +38,5 @@ def store_img(image):
|
|
38 |
async def predict(image:UploadFile):
|
39 |
tensor_image, raw_image = process_image(image)
|
40 |
prediction = mnist_classifier.predict(tensor_image)
|
41 |
-
store_img(raw_image)
|
42 |
return {"prediction": prediction}
|
|
|
38 |
async def predict(image:UploadFile):
|
39 |
tensor_image, raw_image = process_image(image)
|
40 |
prediction = mnist_classifier.predict(tensor_image)
|
41 |
+
# store_img(raw_image)
|
42 |
return {"prediction": prediction}
|