Spaces:
Runtime error
Runtime error
Update glaucoma.py
Browse files- glaucoma.py +1 -1
glaucoma.py
CHANGED
|
@@ -21,7 +21,7 @@ class GlaucomaModel(object):
|
|
| 21 |
# classification id to label
|
| 22 |
self.id2label = self.cls_model.config.id2label
|
| 23 |
|
| 24 |
-
# number of classes
|
| 25 |
self.num_diseases = len(self.id2label)
|
| 26 |
|
| 27 |
def glaucoma_pred(self, image):
|
|
|
|
| 21 |
# classification id to label
|
| 22 |
self.id2label = self.cls_model.config.id2label
|
| 23 |
|
| 24 |
+
# number of classes
|
| 25 |
self.num_diseases = len(self.id2label)
|
| 26 |
|
| 27 |
def glaucoma_pred(self, image):
|