Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ model = load_model("./MyNet.h5", custom_objects={'psnr': psnr, 'val_psnr': psnr}
|
|
11 |
|
12 |
image = gr.inputs.Image(shape=(256,256))
|
13 |
image = np.asarray(image)
|
14 |
-
image = image.astype('float32')
|
15 |
image = image / 255.0
|
16 |
decoded_imgs = model.predict(image)
|
17 |
|
|
|
11 |
|
12 |
image = gr.inputs.Image(shape=(256,256))
|
13 |
image = np.asarray(image)
|
14 |
+
#image = image.astype('float32')
|
15 |
image = image / 255.0
|
16 |
decoded_imgs = model.predict(image)
|
17 |
|