Spaces:
Sleeping
Sleeping
change default brush color
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ with gr.Blocks() as app:
|
|
7 |
recog = Recognizer("model/model.xml", "model/char_list.txt")
|
8 |
|
9 |
with gr.Row():
|
10 |
-
brush = gr.Brush(default_color="#
|
11 |
sketch = gr.Sketchpad("bg.png", type="numpy", brush=brush, layers=False)
|
12 |
result = gr.TextArea()
|
13 |
check = gr.Button()
|
|
|
7 |
recog = Recognizer("model/model.xml", "model/char_list.txt")
|
8 |
|
9 |
with gr.Row():
|
10 |
+
brush = gr.Brush(default_color="#FFF", default_size=15)
|
11 |
sketch = gr.Sketchpad("bg.png", type="numpy", brush=brush, layers=False)
|
12 |
result = gr.TextArea()
|
13 |
check = gr.Button()
|