Spaces:
Runtime error
Runtime error
williamcfrancis
commited on
Commit
·
f48356e
1
Parent(s):
13a1e0b
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,8 @@ def deblur_img(ip_image):
|
|
81 |
# print("Predicted Blur Length: ",length_value)
|
82 |
|
83 |
op_image = process(ip_image, length_value, angle_value)
|
84 |
-
op_image = (op_image*255).astype(np.uint8)
|
85 |
-
op_image = (255/(np.max(op_image)-np.min(op_image))) * (op_image-np.min(op_image))
|
86 |
|
87 |
return op_image
|
88 |
|
|
|
81 |
# print("Predicted Blur Length: ",length_value)
|
82 |
|
83 |
op_image = process(ip_image, length_value, angle_value)
|
84 |
+
# op_image = (op_image*255).astype(np.uint8)
|
85 |
+
# op_image = (255/(np.max(op_image)-np.min(op_image))) * (op_image-np.min(op_image))
|
86 |
|
87 |
return op_image
|
88 |
|