zuzu
commited on
Commit
•
65ae605
1
Parent(s):
d3c5187
comma
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def predict(img):
|
|
13 |
ymax = np.argmax(ysoft)
|
14 |
return ymax
|
15 |
|
16 |
-
sp = gr.Sketchpad(shape=(140,100), image_mode="L", label='arabic numeral' invert_colors=False).style(height=200, width=280)
|
17 |
gr.Label()
|
18 |
gr.Interface(fn=predict,
|
19 |
inputs=sp,
|
|
|
13 |
ymax = np.argmax(ysoft)
|
14 |
return ymax
|
15 |
|
16 |
+
sp = gr.Sketchpad(shape=(140,100), image_mode="L", label='arabic numeral', invert_colors=False).style(height=200, width=280)
|
17 |
gr.Label()
|
18 |
gr.Interface(fn=predict,
|
19 |
inputs=sp,
|