DawnC commited on
Commit
55414fe
1 Parent(s): d226f49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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;