Plsek commited on
Commit
2e34964
·
1 Parent(s): eba1cee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ if uploaded_file is not None:
80
 
81
  y_pred = 0
82
  for j in [0,1,2,3]:
83
- rotated = np.rot90(image, j)
84
  pred = model.predict(rotated.reshape(1, 128, 128, 1)).reshape(128 ,128)
85
  pred = np.rot90(pred, -j)
86
  y_pred += pred / 4
 
80
 
81
  y_pred = 0
82
  for j in [0,1,2,3]:
83
+ rotated = np.rot90(image_data, j)
84
  pred = model.predict(rotated.reshape(1, 128, 128, 1)).reshape(128 ,128)
85
  pred = np.rot90(pred, -j)
86
  y_pred += pred / 4