Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,6 @@ RISK_LEVELS = {
|
|
67 |
|
68 |
MALIGNANT_INDICES = [0, 1, 4] # clases de riesgo alto/cr铆tico
|
69 |
|
70 |
-
|
71 |
def analizar_lesion_combined(img):
|
72 |
try:
|
73 |
img_fastai = PILImage.create(img)
|
@@ -132,7 +131,7 @@ def analizar_lesion_combined(img):
|
|
132 |
<tr><td>馃敩 TensorFlow (saved_model)</td><td><b>{pred_class_tf}</b></td><td>{confidence_tf:.1%}</td></tr>
|
133 |
</table>
|
134 |
<br>
|
135 |
-
<b
|
136 |
"""
|
137 |
|
138 |
cancer_risk_score = sum(probs_vit[i] * RISK_LEVELS[i]['weight'] for i in range(7))
|
|
|
67 |
|
68 |
MALIGNANT_INDICES = [0, 1, 4] # clases de riesgo alto/cr铆tico
|
69 |
|
|
|
70 |
def analizar_lesion_combined(img):
|
71 |
try:
|
72 |
img_fastai = PILImage.create(img)
|
|
|
131 |
<tr><td>馃敩 TensorFlow (saved_model)</td><td><b>{pred_class_tf}</b></td><td>{confidence_tf:.1%}</td></tr>
|
132 |
</table>
|
133 |
<br>
|
134 |
+
<b>馃И Recomendaci贸n autom谩tica:</b><br>
|
135 |
"""
|
136 |
|
137 |
cancer_risk_score = sum(probs_vit[i] * RISK_LEVELS[i]['weight'] for i in range(7))
|