Spaces:
Sleeping
Sleeping
dcavadia commited on
Commit Β·
66f24b6
1
Parent(s): 6296a23
update gradio style
Browse files- src/ui/styles.py +14 -28
src/ui/styles.py
CHANGED
|
@@ -49,16 +49,16 @@ def get_header_html() -> str:
|
|
| 49 |
<p style="color: #64748b; margin: 12px 0; font-size: 14px;">
|
| 50 |
<strong>π Institution:</strong> Universidad Central de Venezuela β’
|
| 51 |
<strong>π§ Architecture:</strong> NFNet-L0 + Weight Standardization β’
|
| 52 |
-
<strong>π― Validation Accuracy:</strong> 96.17% (0.
|
| 53 |
<strong>β‘ Optimization:</strong> ONNX Runtime
|
| 54 |
</p>
|
| 55 |
|
| 56 |
<p style="color: #64748b; margin: 12px 0; font-size: 14px;">
|
| 57 |
-
<strong>π F1-Score:</strong> 0.
|
| 58 |
-
<strong>π― Precision:</strong>
|
| 59 |
-
<strong>π Recall:</strong> 96.
|
| 60 |
<strong>πΎ Model Size:</strong> 24.1M parameters β’
|
| 61 |
-
<strong>
|
| 62 |
</p>
|
| 63 |
|
| 64 |
<p style="color: #374151; margin: 12px 0;">
|
|
@@ -75,29 +75,15 @@ def get_footer_html() -> str:
|
|
| 75 |
from ..config.settings import AppConfig
|
| 76 |
|
| 77 |
return f"""
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
<p style="margin: 0 0 6px 0; font-size: 12px; color: #64748b;">
|
| 88 |
-
<strong>Technical Stack:</strong> NFNet-L0 (24.1M params) β’ Weight Standardization β’ Adam Optimizer β’
|
| 89 |
-
<strong>Dataset:</strong> ISIC + Clinical Images (22,618 total)
|
| 90 |
-
</p>
|
| 91 |
-
|
| 92 |
-
<p style="margin: 0 0 8px 0; font-size: 12px; color: #64748b;">
|
| 93 |
-
<strong>Performance:</strong> 96.17% Accuracy β’ F1-Score 0.96 β’ Precision 96.0% β’ Recall 96.0% β’
|
| 94 |
-
<strong>Loss:</strong> Cross Entropy 0.122597
|
| 95 |
-
</p>
|
| 96 |
-
|
| 97 |
-
<p style="margin: 0; font-size: 10px; color: #94a3b8;">
|
| 98 |
-
Model v{AppConfig.VERSION} β’ Updated {AppConfig.LAST_UPDATE} β’ Research by Daniel Cavadia β’ TEG UCV 2025
|
| 99 |
-
</p>
|
| 100 |
-
</div>
|
| 101 |
"""
|
| 102 |
|
| 103 |
def get_model_info_html() -> str:
|
|
|
|
| 49 |
<p style="color: #64748b; margin: 12px 0; font-size: 14px;">
|
| 50 |
<strong>π Institution:</strong> Universidad Central de Venezuela β’
|
| 51 |
<strong>π§ Architecture:</strong> NFNet-L0 + Weight Standardization β’
|
| 52 |
+
<strong>π― Validation Accuracy:</strong> 96.17% (0.9617) β’
|
| 53 |
<strong>β‘ Optimization:</strong> ONNX Runtime
|
| 54 |
</p>
|
| 55 |
|
| 56 |
<p style="color: #64748b; margin: 12px 0; font-size: 14px;">
|
| 57 |
+
<strong>π F1-Score:</strong> 0.9608 β’
|
| 58 |
+
<strong>π― Precision:</strong> 86.67% β’
|
| 59 |
+
<strong>π Recall:</strong> 96.03% β’
|
| 60 |
<strong>πΎ Model Size:</strong> 24.1M parameters β’
|
| 61 |
+
<strong>π Specificity:</strong> 1.0
|
| 62 |
</p>
|
| 63 |
|
| 64 |
<p style="color: #374151; margin: 12px 0;">
|
|
|
|
| 75 |
from ..config.settings import AppConfig
|
| 76 |
|
| 77 |
return f"""
|
| 78 |
+
π Academic Research Project
|
| 79 |
+
|
| 80 |
+
Institution: {AppConfig.INSTITUTION} β’ Advisor: Dra. Margarita Oliver Lull β’ Focus: CNN Architecture Optimization
|
| 81 |
+
|
| 82 |
+
Technical Stack: NFNet-L0 (24.1M params) β’ Weight Standardization β’ Adam Optimizer β’ Dataset: ISIC + Clinical Images (22,618 total)
|
| 83 |
+
|
| 84 |
+
Performance: 96.17% Accuracy β’ F1-Score 0.9608 β’ Precision 86.67% β’ Recall 96.03% β’ Specificity 1.0
|
| 85 |
+
|
| 86 |
+
Model v{AppConfig.VERSION} β’ Updated {AppConfig.LAST_UPDATE} β’ Research by Daniel Cavadia β’ TEG UCV 2025
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
"""
|
| 88 |
|
| 89 |
def get_model_info_html() -> str:
|