Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ def get_akc_breeds_link():
|
|
254 |
def format_description(description, breed):
|
255 |
if isinstance(description, dict):
|
256 |
# 確保每一個描述項目換行顯示,並避免重複顯示 Breed
|
257 |
-
formatted_description = "\n".join([f"**{key}**: {value}" for key, value in description.items()])
|
258 |
else:
|
259 |
formatted_description = description
|
260 |
|
|
|
254 |
def format_description(description, breed):
|
255 |
if isinstance(description, dict):
|
256 |
# 確保每一個描述項目換行顯示,並避免重複顯示 Breed
|
257 |
+
formatted_description = "\n\n".join([f"**{key}**: {value}" for key, value in description.items()])
|
258 |
else:
|
259 |
formatted_description = description
|
260 |
|