Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -529,7 +529,7 @@ async def predict(image):
|
|
529 |
}}
|
530 |
|
531 |
.section-title {{
|
532 |
-
font-size: 1.
|
533 |
font-weight: 700;
|
534 |
color: #2c3e50;
|
535 |
margin: 32px 0 20px 0;
|
@@ -577,10 +577,13 @@ async def predict(image):
|
|
577 |
.label {{
|
578 |
color: #666;
|
579 |
font-weight: 600;
|
|
|
580 |
}}
|
581 |
|
582 |
.value {{
|
583 |
color: #2c3e50;
|
|
|
|
|
584 |
}}
|
585 |
|
586 |
.temperament-section {{
|
@@ -699,7 +702,7 @@ async def predict(image):
|
|
699 |
}}
|
700 |
|
701 |
.breed-name {{
|
702 |
-
font-size: 1.
|
703 |
font-weight: bold;
|
704 |
color: #2c3e50;
|
705 |
flex-grow: 1;
|
@@ -871,6 +874,10 @@ async def predict(image):
|
|
871 |
border-style: solid;
|
872 |
border-color: transparent rgba(44, 62, 80, 0.95) transparent transparent;
|
873 |
}}
|
|
|
|
|
|
|
|
|
874 |
</style>
|
875 |
{dogs_info}
|
876 |
"""
|
|
|
529 |
}}
|
530 |
|
531 |
.section-title {{
|
532 |
+
font-size: 1.3em;
|
533 |
font-weight: 700;
|
534 |
color: #2c3e50;
|
535 |
margin: 32px 0 20px 0;
|
|
|
577 |
.label {{
|
578 |
color: #666;
|
579 |
font-weight: 600;
|
580 |
+
font-size: 1.1rem;
|
581 |
}}
|
582 |
|
583 |
.value {{
|
584 |
color: #2c3e50;
|
585 |
+
font-weight: 500;
|
586 |
+
font-size: 1.1rem;
|
587 |
}}
|
588 |
|
589 |
.temperament-section {{
|
|
|
702 |
}}
|
703 |
|
704 |
.breed-name {{
|
705 |
+
font-size: 1.5em;
|
706 |
font-weight: bold;
|
707 |
color: #2c3e50;
|
708 |
flex-grow: 1;
|
|
|
874 |
border-style: solid;
|
875 |
border-color: transparent rgba(44, 62, 80, 0.95) transparent transparent;
|
876 |
}}
|
877 |
+
|
878 |
+
.uncertainty-mode .breed-content {{
|
879 |
+
font-size: 1.1rem; /* 增加字體大小 */
|
880 |
+
}}
|
881 |
</style>
|
882 |
{dogs_info}
|
883 |
"""
|