DawnC commited on
Commit
0246cb3
1 Parent(s): a06b998

Update html_templates.py

Browse files
Files changed (1) hide show
  1. html_templates.py +1 -1
html_templates.py CHANGED
@@ -466,7 +466,7 @@ def format_multiple_breeds_result(
466
  get_dog_description: Callable
467
  ) -> str:
468
  """Format multiple breed predictions into HTML with complete information."""
469
- display_breeds = breed.replace('_', ' ')
470
 
471
  result = f'''
472
  <!-- 主標題區塊 -->
 
466
  get_dog_description: Callable
467
  ) -> str:
468
  """Format multiple breed predictions into HTML with complete information."""
469
+ display_breeds = [breed.replace('_', ' ') for breed in topk_breeds]
470
 
471
  result = f'''
472
  <!-- 主標題區塊 -->