Spaces:
Running
on
Zero
Running
on
Zero
BlockDetail
commited on
Commit
•
7482202
1
Parent(s):
87fd27f
env
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as demo:
|
|
134 |
|
135 |
def change_color(stroke_type):
|
136 |
if stroke_type == "Blocking":
|
137 |
-
color = "#
|
138 |
else:
|
139 |
color = "#000000"
|
140 |
return gr.Sketchpad(sources = (), width=512, brush = gr.Brush(colors=[color], default_size = 2, color_mode="fixed"), height=512)
|
|
|
134 |
|
135 |
def change_color(stroke_type):
|
136 |
if stroke_type == "Blocking":
|
137 |
+
color = "#00FF00"
|
138 |
else:
|
139 |
color = "#000000"
|
140 |
return gr.Sketchpad(sources = (), width=512, brush = gr.Brush(colors=[color], default_size = 2, color_mode="fixed"), height=512)
|