ytrsoymr commited on
Commit
d53fdb6
·
verified ·
1 Parent(s): 682d1b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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).")