DawnC commited on
Commit
6020b19
1 Parent(s): 0c7bb9b

Update breed_comparison.py

Browse files
Files changed (1) hide show
  1. breed_comparison.py +4 -6
breed_comparison.py CHANGED
@@ -1,14 +1,12 @@
1
-
2
  import gradio as gr
 
3
  from dog_database import get_dog_description
 
 
 
4
 
5
  def create_comparison_tab(dog_breeds, get_dog_description):
6
- """创建品种比较标签页
7
 
8
- Args:
9
- dog_breeds: 狗品种列表
10
- get_dog_description: 获取品种描述的函数
11
- """
12
  with gr.TabItem("Breed Comparison"):
13
  gr.HTML("<p style='text-align: center;'>Select two dog breeds to compare their characteristics and care requirements.</p>")
14
 
 
 
1
  import gradio as gr
2
+ import sqlite3
3
  from dog_database import get_dog_description
4
+ from breed_health_info import breed_health_info
5
+ from breed_noise_info import breed_noise_info
6
+
7
 
8
  def create_comparison_tab(dog_breeds, get_dog_description):
 
9
 
 
 
 
 
10
  with gr.TabItem("Breed Comparison"):
11
  gr.HTML("<p style='text-align: center;'>Select two dog breeds to compare their characteristics and care requirements.</p>")
12