Spaces:
Sleeping
Sleeping
popboat1 commited on
Commit ·
bb104e7
1
Parent(s): ec2e4a9
changed brush size
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def predict_drawing(canvas_data):
|
|
| 60 |
|
| 61 |
demo = gr.Interface(
|
| 62 |
fn=predict_drawing,
|
| 63 |
-
inputs=gr.Sketchpad(type="pil", label="Draw a Number (0-9)"),
|
| 64 |
outputs=[
|
| 65 |
gr.Image(label="What the model sees (28x28)", type="pil", width=150, height=150),
|
| 66 |
gr.Textbox(label="Network Output", text_align="center")
|
|
|
|
| 60 |
|
| 61 |
demo = gr.Interface(
|
| 62 |
fn=predict_drawing,
|
| 63 |
+
inputs=gr.Sketchpad(type="pil", label="Draw a Number (0-9)", brush=gr.Brush(default_size=22)),
|
| 64 |
outputs=[
|
| 65 |
gr.Image(label="What the model sees (28x28)", type="pil", width=150, height=150),
|
| 66 |
gr.Textbox(label="Network Output", text_align="center")
|