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 |
-
from style_transfer import DogStyleTransfer, create_style_transfer_tab
|
26 |
from html_templates import (
|
27 |
format_description_html,
|
28 |
format_single_dog_result,
|
@@ -462,8 +462,8 @@ def main():
|
|
462 |
# 先創建歷史組件實例(但不創建標籤頁)
|
463 |
history_component = create_history_component()
|
464 |
|
465 |
-
# Initialize style transfor
|
466 |
-
dog_style_transfer = DogStyleTransfer()
|
467 |
|
468 |
with gr.Tabs():
|
469 |
# 1. breed detection
|
@@ -501,9 +501,9 @@ def main():
|
|
501 |
UserPreferences=UserPreferences
|
502 |
)
|
503 |
|
504 |
-
# 5. Style Transfer tab
|
505 |
-
with gr.Tab("Style Transfer"):
|
506 |
-
|
507 |
|
508 |
|
509 |
# 6. History Search
|
|
|
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,
|
|
|
462 |
# 先創建歷史組件實例(但不創建標籤頁)
|
463 |
history_component = create_history_component()
|
464 |
|
465 |
+
# # Initialize style transfor
|
466 |
+
# dog_style_transfer = DogStyleTransfer()
|
467 |
|
468 |
with gr.Tabs():
|
469 |
# 1. breed detection
|
|
|
501 |
UserPreferences=UserPreferences
|
502 |
)
|
503 |
|
504 |
+
# # 5. Style Transfer tab
|
505 |
+
# with gr.Tab("Style Transfer"):
|
506 |
+
# style_transfer_components = create_style_transfer_tab(dog_style_transfer)
|
507 |
|
508 |
|
509 |
# 6. History Search
|