Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def preprocess_input(input):
|
|
| 42 |
input = input.resize((28, 28))
|
| 43 |
|
| 44 |
# Convert the image to grayscale
|
| 45 |
-
input = input.convert('L')
|
| 46 |
|
| 47 |
# Flatten the pixel values
|
| 48 |
input = np.array(input)
|
|
|
|
| 42 |
input = input.resize((28, 28))
|
| 43 |
|
| 44 |
# Convert the image to grayscale
|
| 45 |
+
#input = input.convert('L')
|
| 46 |
|
| 47 |
# Flatten the pixel values
|
| 48 |
input = np.array(input)
|