Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,6 +38,14 @@ def predict_caries(image, conf_threshold):
|
|
| 38 |
with gr.Blocks(theme=gr.themes.Default()) as demo:
|
| 39 |
gr.Markdown("# 🦷 Dental Caries Detection System For Akansh Mani")
|
| 40 |
gr.Markdown("Upload the X-ray image and wait for the AI to analyze it.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
with gr.Row():
|
| 43 |
with gr.Column():
|
|
|
|
| 38 |
with gr.Blocks(theme=gr.themes.Default()) as demo:
|
| 39 |
gr.Markdown("# 🦷 Dental Caries Detection System For Akansh Mani")
|
| 40 |
gr.Markdown("Upload the X-ray image and wait for the AI to analyze it.")
|
| 41 |
+
gr.Markdown("""
|
| 42 |
+
### ℹ️ Instructions:
|
| 43 |
+
1. **Upload** an X-ray image.
|
| 44 |
+
2. Click **Run AI Analysis**.
|
| 45 |
+
3. **Adjust Confidence Threshold:** * **Lower values (e.g. 0.15):** Higher sensitivity to catch early suspicious areas.
|
| 46 |
+
* **Higher values (e.g. 0.45):** Only shows the most certain caries.
|
| 47 |
+
* *Recommended value is **0.25** for a balanced result.*
|
| 48 |
+
""")
|
| 49 |
|
| 50 |
with gr.Row():
|
| 51 |
with gr.Column():
|