Harveenchadha commited on
Commit
20a93dc
Β·
1 Parent(s): 8918e11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def infer(original_image):
14
  image = keras.preprocessing.image.img_to_array(original_image)
15
  image = image.astype("float32") / 255.0
16
  image = np.expand_dims(image, axis=0)
17
- output_image = model.predict(image)
18
  output_image = output[0] * 255.0
19
  output_image = output_image.clip(0, 255)
20
  output_image = output_image.reshape(
 
14
  image = keras.preprocessing.image.img_to_array(original_image)
15
  image = image.astype("float32") / 255.0
16
  image = np.expand_dims(image, axis=0)
17
+ output = model.predict(image)
18
  output_image = output[0] * 255.0
19
  output_image = output_image.clip(0, 255)
20
  output_image = output_image.reshape(