Spaces:
Runtime error
Runtime error
Commit
Β·
87da6f1
1
Parent(s):
55b33af
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ def infer(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(
|
|
|
15 |
image = image.astype("float32") / 255.0
|
16 |
image = np.expand_dims(image, axis=0)
|
17 |
output = model.predict(image)
|
18 |
+
print(output[0].shape(), output[1].shape())
|
19 |
'''output_image = output[0] * 255.0
|
20 |
output_image = output_image.clip(0, 255)
|
21 |
output_image = output_image.reshape(
|