DawnC commited on
Commit
1befee4
·
verified ·
1 Parent(s): 9ef84a9

Update recommendation_html_format.py

Browse files
Files changed (1) hide show
  1. recommendation_html_format.py +6 -1
recommendation_html_format.py CHANGED
@@ -1,8 +1,13 @@
 
 
1
  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 UserPreferences, calculate_compatibility_score
 
 
 
6
 
7
  def format_recommendation_html(recommendations: List[Dict]) -> str:
8
  """將推薦結果格式化為HTML"""
 
1
+ import sqlite3
2
+ import traceback
3
  from typing import List, Dict
4
  from breed_health_info import breed_health_info, default_health_note
5
  from breed_noise_info import breed_noise_info
6
  from dog_database import get_dog_description
7
+ from scoring_calculation_system import (
8
+ UserPreferences,
9
+ calculate_compatibility_score
10
+ )
11
 
12
  def format_recommendation_html(recommendations: List[Dict]) -> str:
13
  """將推薦結果格式化為HTML"""