Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ iface = gr.Interface(
|
|
| 21 |
article = 'There are 11 স্বরবর্ণ (SWARABARNA) in bengali alphabet system; just write any of them and it will predict: অ, আ, ই, ঈ, উ, ঊ, ঋ, এ, ঐ, ও, ঔ',
|
| 22 |
theme = 'gstaff/whiteboard',
|
| 23 |
fn = temp,
|
| 24 |
-
inputs = gr.Sketchpad(crop_size=(
|
| 25 |
outputs = gr.Label(label='predicted letter'),
|
| 26 |
)
|
| 27 |
|
|
|
|
| 21 |
article = 'There are 11 স্বরবর্ণ (SWARABARNA) in bengali alphabet system; just write any of them and it will predict: অ, আ, ই, ঈ, উ, ঊ, ঋ, এ, ঐ, ও, ঔ',
|
| 22 |
theme = 'gstaff/whiteboard',
|
| 23 |
fn = temp,
|
| 24 |
+
inputs = gr.Sketchpad(crop_size=(28,28), type='numpy', image_mode='L', brush=gr.Brush()),
|
| 25 |
outputs = gr.Label(label='predicted letter'),
|
| 26 |
)
|
| 27 |
|