Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
c114545
1
Parent(s):
d142887
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def empty_input_image():
|
|
29 |
|
30 |
def clear_sketchbox(color_name):
|
31 |
temp_color_list = COLORS.copy()
|
32 |
-
temp_color_list
|
33 |
return [empty_input_image(), random.choice(temp_color_list)]
|
34 |
|
35 |
def pil_image_to_data_uri(img, format='PNG'):
|
|
|
29 |
|
30 |
def clear_sketchbox(color_name):
|
31 |
temp_color_list = COLORS.copy()
|
32 |
+
temp_color_list.remove(color_name)
|
33 |
return [empty_input_image(), random.choice(temp_color_list)]
|
34 |
|
35 |
def pil_image_to_data_uri(img, format='PNG'):
|