Update app.py
Browse files
app.py
CHANGED
@@ -15,15 +15,15 @@ model = load_model("Model_Semogabisa.h5")
|
|
15 |
|
16 |
# Labels dan saran pengobatan untuk deteksi acne
|
17 |
acne_labels = {
|
18 |
-
0: '
|
19 |
-
1: '
|
20 |
-
2: '
|
21 |
}
|
22 |
|
23 |
acne_treatment = {
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
}
|
28 |
|
29 |
# Fungsi untuk mendeteksi acne
|
|
|
15 |
|
16 |
# Labels dan saran pengobatan untuk deteksi acne
|
17 |
acne_labels = {
|
18 |
+
0: 'Clear',
|
19 |
+
1: 'Comedo',
|
20 |
+
2: 'Acne'
|
21 |
}
|
22 |
|
23 |
acne_treatment = {
|
24 |
+
2: '- Topical anti-acne agents, such as benzoyl peroxide, azelaic acid, and tretinoin or adapalene gel and some antibiotics (clindamycin)\n- New bioactive proteins may also prove successful\n- Newer topical agents such as clascoterone\n- Low-dose combined oral contraceptive\n- Antiseptic or keratolytic washes containing salicylic acid\n- Light/laser therapy',
|
25 |
+
0: 'Keep up the good work! ',
|
26 |
+
1: '- Benzoyl peroxide\n- Azelaic acid\n- Salicylic acid +/- sulfur and resorcinol\n- Glycolic acid\n- Retinoids such as tretinoin, isotretinoin, adapalene (these require a doctors prescription)'
|
27 |
}
|
28 |
|
29 |
# Fungsi untuk mendeteksi acne
|