Spaces:
Sleeping
Sleeping
Commit
·
638b7f1
1
Parent(s):
5e2cf02
Fixed errors
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def predict(image):
|
|
47 |
# Create the Gradio interface
|
48 |
interface = gr.Interface(
|
49 |
fn=predict,
|
50 |
-
inputs=gr.
|
51 |
outputs=gr.outputs.Label(num_top_classes=10)
|
52 |
)
|
53 |
|
|
|
47 |
# Create the Gradio interface
|
48 |
interface = gr.Interface(
|
49 |
fn=predict,
|
50 |
+
inputs=gr.Sketchpad(shape=(28, 28), brush_radius=1),
|
51 |
outputs=gr.outputs.Label(num_top_classes=10)
|
52 |
)
|
53 |
|