Spaces:
Sleeping
Sleeping
LLH
commited on
Commit
·
a9ebcf5
1
Parent(s):
c848027
2024/03/09/16:00
Browse files
app.py
CHANGED
@@ -1787,6 +1787,7 @@ def non_first_draw_plot(inputs, is_color_text):
|
|
1787 |
|
1788 |
# 若输入的是颜色的十六进制,则判断输入是否合法
|
1789 |
for color in color_list:
|
|
|
1790 |
if len(color) != 7 or color[0] != "#":
|
1791 |
gr.Warning("颜色的十六进制输入有误")
|
1792 |
return get_return(True)
|
|
|
1787 |
|
1788 |
# 若输入的是颜色的十六进制,则判断输入是否合法
|
1789 |
for color in color_list:
|
1790 |
+
print(color)
|
1791 |
if len(color) != 7 or color[0] != "#":
|
1792 |
gr.Warning("颜色的十六进制输入有误")
|
1793 |
return get_return(True)
|