Spaces:
Sleeping
Sleeping
Update search_history.py
Browse files- search_history.py +1 -1
search_history.py
CHANGED
@@ -151,7 +151,7 @@ class SearchHistoryComponent:
|
|
151 |
if isinstance(result, dict):
|
152 |
processed_result = {
|
153 |
'breed': result.get('breed', 'Unknown'),
|
154 |
-
'overall_score': result.get('final_score', 0),
|
155 |
'rank': result.get('rank', 0),
|
156 |
'base_score': result.get('base_score', 0),
|
157 |
'bonus_score': result.get('bonus_score', 0),
|
|
|
151 |
if isinstance(result, dict):
|
152 |
processed_result = {
|
153 |
'breed': result.get('breed', 'Unknown'),
|
154 |
+
'overall_score': result.get('overall_score', result.get('final_score', 0)),
|
155 |
'rank': result.get('rank', 0),
|
156 |
'base_score': result.get('base_score', 0),
|
157 |
'bonus_score': result.get('bonus_score', 0),
|