yupikopi commited on
Commit
7e65ea6
Β·
1 Parent(s): e5d226b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model = load_model("./MyNet.h5", custom_objects={'psnr': psnr, 'val_psnr': psnr}
10
 
11
  # ラップする閒数
12
  def sepia(input_img):
13
- sepia_img = np.asarray(inputs)
14
  sepia_img = sepia_img.astype('float32')
15
  sepia_img = sepia_img / 255.0
16
  sepia_img = model.predict(sepia_img)
 
10
 
11
  # ラップする閒数
12
  def sepia(input_img):
13
+ sepia_img = np.asarray(input_img)
14
  sepia_img = sepia_img.astype('float32')
15
  sepia_img = sepia_img / 255.0
16
  sepia_img = model.predict(sepia_img)