Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import tensorflow as tf
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# Load the model
|
| 6 |
-
model = tf.keras.
|
| 7 |
|
| 8 |
# Classification prediction function
|
| 9 |
labels = [0,1,2,3,4,5,6,7,8,9]
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# Load the model
|
| 6 |
+
model = tf.keras.models.load_model('mnist_model.h5')
|
| 7 |
|
| 8 |
# Classification prediction function
|
| 9 |
labels = [0,1,2,3,4,5,6,7,8,9]
|