jpterry commited on
Commit
5e51b17
·
1 Parent(s): 4bec5d9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def predict_and_analyze(model_name, num_channels, dim, image):
137
  # im = f.readlines()
138
  # image = np.frombuffer(image)
139
 
140
- image = np.open(image, allow_pickle=True)
141
 
142
  image = image.reshape((num_channels, W, W))
143
 
 
137
  # im = f.readlines()
138
  # image = np.frombuffer(image)
139
 
140
+ image = np.load(image, allow_pickle=True)
141
 
142
  image = image.reshape((num_channels, W, W))
143