Spaces:
Running
on
Zero
Running
on
Zero
Update breed_recommendation.py
Browse files- breed_recommendation.py +4 -3
breed_recommendation.py
CHANGED
@@ -29,8 +29,9 @@ def create_custom_button_style():
|
|
29 |
}
|
30 |
#find-match-btn:hover {
|
31 |
background: linear-gradient(90deg, #ff4f5d 0%, #ffb361 100%);
|
32 |
-
box-shadow: 0 6px
|
33 |
-
transform: translateY(-
|
|
|
34 |
}
|
35 |
#find-match-btn:active {
|
36 |
transform: translateY(1px);
|
@@ -272,7 +273,7 @@ def create_recommendation_tab(UserPreferences, get_breed_recommendations, format
|
|
272 |
|
273 |
return [
|
274 |
format_recommendation_html(recommendations, is_description_search=False),
|
275 |
-
gr.
|
276 |
]
|
277 |
|
278 |
except Exception as e:
|
|
|
29 |
}
|
30 |
#find-match-btn:hover {
|
31 |
background: linear-gradient(90deg, #ff4f5d 0%, #ffb361 100%);
|
32 |
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
|
33 |
+
transform: translateY(-2px);
|
34 |
+
letter-spacing: 0.5px; /* 文字間距略微增加 */
|
35 |
}
|
36 |
#find-match-btn:active {
|
37 |
transform: translateY(1px);
|
|
|
273 |
|
274 |
return [
|
275 |
format_recommendation_html(recommendations, is_description_search=False),
|
276 |
+
gr.update(visible=True)
|
277 |
]
|
278 |
|
279 |
except Exception as e:
|