yuragoithf commited on
Commit
c5ab150
·
1 Parent(s): 500a91d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -70,8 +70,7 @@ def gen_pred(img, model=seg_model):
70
  img = tf.expand_dims(img, axis=0)
71
  pred = model.predict(img)
72
  pred = np.squeeze(pred, axis=0)
73
- # fig = plt.figure(figsize=(10, 7))
74
- fig = plt.figure()
75
  fig.add_subplot(rows, columns, 1)
76
  # plt.imshow(pred, interpolation='catrom')
77
  plt.imshow(pred)
 
70
  img = tf.expand_dims(img, axis=0)
71
  pred = model.predict(img)
72
  pred = np.squeeze(pred, axis=0)
73
+ fig = plt.figure(figsize=(4, 4))
 
74
  fig.add_subplot(rows, columns, 1)
75
  # plt.imshow(pred, interpolation='catrom')
76
  plt.imshow(pred)