Ethium commited on
Commit
ef7fcb2
1 Parent(s): ab0e1ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -12,6 +12,10 @@ def get_x(row, is_test=False):
12
  return Image.fromarray(transformed_image)
13
  pass
14
 
 
 
 
 
15
  learn = load_learner('your_model.pkl')
16
 
17
  categories = ('Glaucoma Present','Glaucoma Absent')
 
12
  return Image.fromarray(transformed_image)
13
  pass
14
 
15
+ def get_y(row):
16
+ return row['label'] # adjust this depending on how your csv is structured
17
+ pass
18
+
19
  learn = load_learner('your_model.pkl')
20
 
21
  categories = ('Glaucoma Present','Glaucoma Absent')