Spaces:
Runtime error
Runtime error
Ritam911
commited on
Commit
·
256f266
1
Parent(s):
1d1dda3
misspel
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def pre(image):
|
|
| 13 |
return p.argmax().item()
|
| 14 |
|
| 15 |
title = "Hand written Digit Classifier"
|
| 16 |
-
description = " A Basic CNN trained on MNSIT Dataset using Pytorch and Fast.ai. It achieved an accuracy of 99.2 %.<br> This is my first app so i could not properly convert the image from the sketchpad to a proper 28*28 pixel image as in MNSIT database. Hence, please try to
|
| 17 |
|
| 18 |
iface = gr.Interface(fn=pre, inputs="sketchpad", outputs="text",title=title,description=description)
|
| 19 |
iface.launch()
|
|
|
|
| 13 |
return p.argmax().item()
|
| 14 |
|
| 15 |
title = "Hand written Digit Classifier"
|
| 16 |
+
description = " A Basic CNN trained on MNSIT Dataset using Pytorch and Fast.ai. It achieved an accuracy of 99.2 %.<br> This is my first app so i could not properly convert the image from the sketchpad to a proper 28*28 pixel image as in MNSIT database. Hence, please try to draw the digits big and in center for best accuracy. "
|
| 17 |
|
| 18 |
iface = gr.Interface(fn=pre, inputs="sketchpad", outputs="text",title=title,description=description)
|
| 19 |
iface.launch()
|