Spaces:
Sleeping
Sleeping
im2
commited on
Commit
•
a0962d2
1
Parent(s):
d1888a8
remove shape
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def predict_digit(image):
|
|
52 |
# Create Gradio Interface
|
53 |
interface = gr.Interface(
|
54 |
fn=predict_digit,
|
55 |
-
inputs=gr.Sketchpad(
|
56 |
outputs="text",
|
57 |
title="Digit Recognizer",
|
58 |
description="Draw a digit (0-9) and the model will predict the number!"
|
|
|
52 |
# Create Gradio Interface
|
53 |
interface = gr.Interface(
|
54 |
fn=predict_digit,
|
55 |
+
inputs=gr.Sketchpad(), # Sketchpad for users to draw
|
56 |
outputs="text",
|
57 |
title="Digit Recognizer",
|
58 |
description="Draw a digit (0-9) and the model will predict the number!"
|