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