Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,16 +14,7 @@ model_name = "gemini-2.0-flash-exp"
|
|
| 14 |
|
| 15 |
#Skin issue detection system instructions
|
| 16 |
bounding_box_system_instructions = """
|
| 17 |
-
|
| 18 |
-
Each bounding box must include:
|
| 19 |
-
- **Coordinates:** x_min, y_min, x_max, y_max.
|
| 20 |
-
- **Label:** Specific skin condition (e.g., "Pustle," "Nodule," "Melanoma").
|
| 21 |
-
- **Metadata:** Include details like:
|
| 22 |
-
- Severity: mild, moderate, severe.
|
| 23 |
-
- Dimensions: area in mm².
|
| 24 |
-
- Depth: superficial, mid-layer, or deep.
|
| 25 |
-
- Color Variations: uniform, uneven.
|
| 26 |
-
"""
|
| 27 |
|
| 28 |
# Additional colors f
|
| 29 |
|
|
|
|
| 14 |
|
| 15 |
#Skin issue detection system instructions
|
| 16 |
bounding_box_system_instructions = """
|
| 17 |
+
Return bounding boxes as a JSON array with labels specific to medical ultrasound imaging. Never return masks or code fencing. Limit to 25 objects per frame."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
# Additional colors f
|
| 20 |
|