Spaces:
Running
on
Zero
Running
on
Zero
Update recommendation_html_format.py
Browse files
recommendation_html_format.py
CHANGED
|
@@ -2,7 +2,7 @@ from typing import List, Dict
|
|
| 2 |
from breed_health_info import breed_health_info, default_health_note
|
| 3 |
from breed_noise_info import breed_noise_info
|
| 4 |
from dog_database import get_dog_description
|
| 5 |
-
from scoring_calculation_system import calculate_compatibility_score
|
| 6 |
|
| 7 |
def format_recommendation_html(recommendations: List[Dict], is_description_search: bool = False) -> str:
|
| 8 |
"""將推薦結果格式化為HTML"""
|
|
|
|
| 2 |
from breed_health_info import breed_health_info, default_health_note
|
| 3 |
from breed_noise_info import breed_noise_info
|
| 4 |
from dog_database import get_dog_description
|
| 5 |
+
from scoring_calculation_system import UserPreferences, calculate_compatibility_score
|
| 6 |
|
| 7 |
def format_recommendation_html(recommendations: List[Dict], is_description_search: bool = False) -> str:
|
| 8 |
"""將推薦結果格式化為HTML"""
|