Spaces:
Running
on
Zero
Running
on
Zero
Update breed_comparison.py
Browse files- breed_comparison.py +1 -1
breed_comparison.py
CHANGED
|
@@ -359,7 +359,7 @@ def create_comparison_tab(dog_breeds, get_dog_description, breed_noise_info, bre
|
|
| 359 |
"""
|
| 360 |
|
| 361 |
def show_comparison(breed1_display, breed2_display):
|
| 362 |
-
if not
|
| 363 |
return "Please select two breeds to compare"
|
| 364 |
|
| 365 |
breed1 = reversed_mapping[breed1_display]
|
|
|
|
| 359 |
"""
|
| 360 |
|
| 361 |
def show_comparison(breed1_display, breed2_display):
|
| 362 |
+
if not breed1_display or not breed2_display:
|
| 363 |
return "Please select two breeds to compare"
|
| 364 |
|
| 365 |
breed1 = reversed_mapping[breed1_display]
|