lynz1910 commited on
Commit
7155a5f
·
verified ·
1 Parent(s): 1a263e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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: 'Acne',
19
- 1: 'Clear',
20
- 2: 'Comedo'
21
  }
22
 
23
  acne_treatment = {
24
- 0: '- 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
- 1: 'Keep up the good work! ',
26
- 2: '- 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
 
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