Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import numpy as np
|
|
| 3 |
import tensorflow as tf
|
| 4 |
from PIL import Image, ImageOps
|
| 5 |
|
| 6 |
-
model = tf.keras.models.load_model("model.keras")
|
| 7 |
|
| 8 |
st.title(" Handwritten Digit Detection")
|
| 9 |
st.write("Upload an image of a digit (28x28 grayscale preferred).")
|
|
|
|
| 3 |
import tensorflow as tf
|
| 4 |
from PIL import Image, ImageOps
|
| 5 |
|
| 6 |
+
model = tf.keras.models.load_model("model.keras", compile=False)
|
| 7 |
|
| 8 |
st.title(" Handwritten Digit Detection")
|
| 9 |
st.write("Upload an image of a digit (28x28 grayscale preferred).")
|