Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,9 +148,9 @@ def detect_periodontitis(image_np):
|
|
| 148 |
|
| 149 |
# Add interpretation
|
| 150 |
if has_periodontitis:
|
| 151 |
-
summary_text += "\n\n⚠️
|
| 152 |
else:
|
| 153 |
-
summary_text += "\n\n✅
|
| 154 |
|
| 155 |
# Remove temp
|
| 156 |
try:
|
|
|
|
| 148 |
|
| 149 |
# Add interpretation
|
| 150 |
if has_periodontitis:
|
| 151 |
+
summary_text += "\n\n⚠️ You have periodontitis."
|
| 152 |
else:
|
| 153 |
+
summary_text += "\n\n✅ You don't have periodontitis."
|
| 154 |
|
| 155 |
# Remove temp
|
| 156 |
try:
|