jayn95 commited on
Commit
0aa756a
·
verified ·
1 Parent(s): de688e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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⚠️ Interpretation: Some teeth show CEJ–ABC distances > 2 mm, indicating periodontitis."
152
  else:
153
- summary_text += "\n\n✅ Interpretation: CEJ–ABC distances are all ≤ 2 mm, no periodontitis detected."
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: