DawnC commited on
Commit
0fff0f1
1 Parent(s): 49e0e4e

Update breed_comparison.py

Browse files
Files changed (1) hide show
  1. breed_comparison.py +1 -1
breed_comparison.py CHANGED
@@ -7,7 +7,7 @@ from breed_noise_info import breed_noise_info
7
 
8
  def create_comparison_tab(dog_breeds, get_dog_description, breed_noise_info, breed_health_info):
9
  breed_display_mapping = { breed: breed.replace('_', ' ').title() for breed in dog_breeds}
10
- reversed_mapping = {v, k for k ,v in breed_display_mapping.items()}
11
  sorted_display_names = sorted(breed_display_mapping.values())
12
 
13
  with gr.TabItem("Breed Comparison"):
 
7
 
8
  def create_comparison_tab(dog_breeds, get_dog_description, breed_noise_info, breed_health_info):
9
  breed_display_mapping = { breed: breed.replace('_', ' ').title() for breed in dog_breeds}
10
+ reversed_mapping = {v: k for k ,v in breed_display_mapping.items()}
11
  sorted_display_names = sorted(breed_display_mapping.values())
12
 
13
  with gr.TabItem("Breed Comparison"):