Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -344,6 +344,12 @@ def format_description(description, breed):
|
|
344 |
|
345 |
return formatted_description
|
346 |
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
with gr.Blocks(css="""
|
348 |
.container {
|
349 |
max-width: 900px;
|
|
|
344 |
|
345 |
return formatted_description
|
346 |
|
347 |
+
def show_details(breed):
|
348 |
+
breed_name = breed.split("More about ")[-1]
|
349 |
+
description = get_dog_description(breed_name)
|
350 |
+
return format_description(description, breed_name)
|
351 |
+
|
352 |
+
|
353 |
with gr.Blocks(css="""
|
354 |
.container {
|
355 |
max-width: 900px;
|