Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ def classify_images(im):
|
|
9 |
|
10 |
|
11 |
|
12 |
-
img=gr.
|
13 |
-
label=gr.
|
14 |
examples=["A.jpg","h.jpg","z.jpg"]
|
15 |
|
16 |
intf=gr.Interface(title="English Alphabets Recognition App",description="You can choose an example or draw in canvas. Press submit and model will recognize your input. This model only works on Capital Alphabets",fn=classify_images,inputs=img,outputs=label,examples=examples)
|
|
|
9 |
|
10 |
|
11 |
|
12 |
+
img=gr.Image(shape=(28,28),source="canvas",invert_colors=True)
|
13 |
+
label=gr.Label()
|
14 |
examples=["A.jpg","h.jpg","z.jpg"]
|
15 |
|
16 |
intf=gr.Interface(title="English Alphabets Recognition App",description="You can choose an example or draw in canvas. Press submit and model will recognize your input. This model only works on Capital Alphabets",fn=classify_images,inputs=img,outputs=label,examples=examples)
|