Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def greet(image):
|
|
| 25 |
|
| 26 |
# image = Image.open(image_path).convert("RGB")
|
| 27 |
# image = np.array(image) / 255.0
|
| 28 |
-
image = image /
|
| 29 |
image = image.astype(np.float32)
|
| 30 |
|
| 31 |
inference_transforms = A.Compose([
|
|
|
|
| 25 |
|
| 26 |
# image = Image.open(image_path).convert("RGB")
|
| 27 |
# image = np.array(image) / 255.0
|
| 28 |
+
image = image / 255.0
|
| 29 |
image = image.astype(np.float32)
|
| 30 |
|
| 31 |
inference_transforms = A.Compose([
|