Oualidra commited on
Commit
0765a71
1 Parent(s): 6ded394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def predict_skin_disease(image):
38
  _, predicted_class = torch.max(output, 1)
39
 
40
  # Map the predicted class index to the corresponding class label
41
- class_label = ['AbdomenCT', 'BreastMRI', 'CXR', 'ChestCT', 'Hand', 'HeadCT']
42
  class_label = class_label[predicted_class.item()]
43
 
44
 
 
38
  _, predicted_class = torch.max(output, 1)
39
 
40
  # Map the predicted class index to the corresponding class label
41
+ class_label = ['No DR', 'Mild', 'Moderate', 'Severe', 'Proliferative']
42
  class_label = class_label[predicted_class.item()]
43
 
44