Spaces:
Running
on
Zero
Running
on
Zero
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
|
@@ -1353,7 +1353,7 @@ def calculate_compatibility_score(breed_info: dict, user_prefs: UserPreferences)
|
|
| 1353 |
try:
|
| 1354 |
noise_score = calculate_noise_score(
|
| 1355 |
breed_info.get('Breed', ''),
|
| 1356 |
-
user_prefs
|
| 1357 |
)
|
| 1358 |
print(f"噪音分數計算結果: {noise_score}")
|
| 1359 |
except Exception as e:
|
|
|
|
| 1353 |
try:
|
| 1354 |
noise_score = calculate_noise_score(
|
| 1355 |
breed_info.get('Breed', ''),
|
| 1356 |
+
user_prefs
|
| 1357 |
)
|
| 1358 |
print(f"噪音分數計算結果: {noise_score}")
|
| 1359 |
except Exception as e:
|