Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -659,9 +659,9 @@ def comprehensive_healthspan_analysis(input_type, image_input, video_input, bree
|
|
659 |
report_html += f"""
|
660 |
<div style="border: 2px solid #2196F3; padding: 20px; border-radius: 12px; margin: 20px 0; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
661 |
<h3 style="color: #1976D2; margin: 0 0 15px 0; font-weight: 600; border-bottom: 2px solid #E3F2FD; padding-bottom: 8px;">{input_type_icon} Visual Analysis</h3>
|
662 |
-
<p style="margin: 8px 0; color: #
|
663 |
-
<p style="margin: 8px 0; color: #
|
664 |
-
<p style="margin: 8px 0; color: #
|
665 |
{pace_info}
|
666 |
</div>
|
667 |
"""
|
|
|
659 |
report_html += f"""
|
660 |
<div style="border: 2px solid #2196F3; padding: 20px; border-radius: 12px; margin: 20px 0; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
661 |
<h3 style="color: #1976D2; margin: 0 0 15px 0; font-weight: 600; border-bottom: 2px solid #E3F2FD; padding-bottom: 8px;">{input_type_icon} Visual Analysis</h3>
|
662 |
+
<p style="margin: 8px 0; color: #1976D2;"><strong>Detected Breed:</strong> <span style="color: #1976D2; font-weight: 600;">{breed_info['breed']}</span> <span style="background: #E3F2FD; color: #1976D2; padding: 2px 6px; border-radius: 8px; font-size: 0.9em;">({breed_info['confidence']:.1%} confidence)</span></p>
|
663 |
+
<p style="margin: 8px 0; color: #1976D2;"><strong>Estimated Biological Age:</strong> <span style="color: #1976D2; font-weight: 600;">{breed_info['bio_age']} years</span></p>
|
664 |
+
<p style="margin: 8px 0; color: #1976D2;"><strong>Chronological Age:</strong> <span style="color: #1976D2; font-weight: 600;">{age or 'Not provided'} years</span></p>
|
665 |
{pace_info}
|
666 |
</div>
|
667 |
"""
|