Spaces:
Running
Running
Update html_templates.py
Browse files- html_templates.py +1 -13
html_templates.py
CHANGED
@@ -36,19 +36,7 @@ def get_color_scheme(is_single_dog: bool) -> Union[str, List[str]]:
|
|
36 |
'#FFE033' # 金黃色
|
37 |
]
|
38 |
return single_dog_color if is_single_dog else color_list
|
39 |
-
|
40 |
-
# def format_hint_html(message: str) -> str:
|
41 |
-
# """Format warning messages in a consistent style."""
|
42 |
-
# return f'''
|
43 |
-
# <div class="dog-info-card">
|
44 |
-
# <div class="breed-info">
|
45 |
-
# <p class="warning-message">
|
46 |
-
# <span class="icon">💡</span>
|
47 |
-
# {message}
|
48 |
-
# </p>
|
49 |
-
# </div>
|
50 |
-
# </div>
|
51 |
-
# '''
|
52 |
|
53 |
def format_hint_html(message: str) -> str:
|
54 |
"""
|
|
|
36 |
'#FFE033' # 金黃色
|
37 |
]
|
38 |
return single_dog_color if is_single_dog else color_list
|
39 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
def format_hint_html(message: str) -> str:
|
42 |
"""
|