Skip to content

Commit

Permalink
feat: more color
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyi-Lin committed Sep 8, 2024
1 parent 1d0a38b commit 7e066a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@
"蓝色": (86, 140, 212),
"白色": (255, 255, 255),
"红色": (233, 51, 35),
"黑色": (0, 0, 0),
"深蓝色": (69, 98, 148),
}

color_list_dict_EN = {
"Blue": (86, 140, 212),
"White": (255, 255, 255),
"Red": (233, 51, 35),
"Black": (0, 0, 0),
"Dark blue": (69, 98, 148),
}


Expand Down Expand Up @@ -321,8 +325,8 @@ def idphoto_inference(
size_list_CN = list(size_list_dict_CN.keys())
size_list_EN = list(size_list_dict_EN.keys())

colors_CN = ["蓝色", "白色", "红色", "自定义底色"]
colors_EN = ["Blue", "White", "Red", "Custom Color"]
colors_CN = ["蓝色", "白色", "红色", "黑色", "深蓝色", "自定义底色"]
colors_EN = ["Blue", "White", "Red", "Black", "Dark blue", "Custom Color"]

render_CN = ["纯色", "上下渐变 (白)", "中心渐变 (白)"]
render_EN = ["Solid Color", "Up-Down Gradient (White)", "Center Gradient (White)"]
Expand Down

0 comments on commit 7e066a6

Please sign in to comment.