Spaces:
Build error
Build error
Commit
·
25da73d
1
Parent(s):
8ba6efb
Upload app.py
Browse files
app.py
CHANGED
|
@@ -21,5 +21,5 @@ image = gr.inputs.Image(shape=(28,28))
|
|
| 21 |
label = gr.outputs.Label()
|
| 22 |
examples = ['Number_3.png', 'Number_5.png']
|
| 23 |
|
| 24 |
-
intf = gr.Interface(fn=classify_image, inputs=
|
| 25 |
intf.launch(inline=False)
|
|
|
|
| 21 |
label = gr.outputs.Label()
|
| 22 |
examples = ['Number_3.png', 'Number_5.png']
|
| 23 |
|
| 24 |
+
intf = gr.Interface(fn=classify_image, inputs="sketchpad", outputs=label, examples=examples)
|
| 25 |
intf.launch(inline=False)
|