Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ from breed_detection import create_detection_tab
|
|
22 |
from breed_comparison import create_comparison_tab
|
23 |
from breed_recommendation import create_recommendation_tab
|
24 |
from breed_visualization import create_visualization_tab
|
25 |
-
|
26 |
from html_templates import (
|
27 |
format_description_html,
|
28 |
format_single_dog_result,
|
@@ -472,8 +472,8 @@ def main():
|
|
472 |
# 先創建歷史組件實例(但不創建標籤頁)
|
473 |
history_component = create_history_component()
|
474 |
|
475 |
-
#
|
476 |
-
|
477 |
|
478 |
with gr.Tabs():
|
479 |
# 1. 品種檢測標籤頁
|
|
|
22 |
from breed_comparison import create_comparison_tab
|
23 |
from breed_recommendation import create_recommendation_tab
|
24 |
from breed_visualization import create_visualization_tab
|
25 |
+
from style_transfer import DogStyleTransfer, create_style_transfer_tab
|
26 |
from html_templates import (
|
27 |
format_description_html,
|
28 |
format_single_dog_result,
|
|
|
472 |
# 先創建歷史組件實例(但不創建標籤頁)
|
473 |
history_component = create_history_component()
|
474 |
|
475 |
+
# Initialize style transfor
|
476 |
+
dog_style_transfer = DogStyleTransfer()
|
477 |
|
478 |
with gr.Tabs():
|
479 |
# 1. 品種檢測標籤頁
|