ggggggggg
Browse files
tt.py
CHANGED
|
@@ -3,6 +3,7 @@ import gradio as gr
|
|
| 3 |
|
| 4 |
model = keras.models.load_model("model.keras")
|
| 5 |
|
|
|
|
| 6 |
def recognize_digit(img):
|
| 7 |
img = img.reshape(1, 784)
|
| 8 |
img = img / 255
|
|
|
|
| 3 |
|
| 4 |
model = keras.models.load_model("model.keras")
|
| 5 |
|
| 6 |
+
|
| 7 |
def recognize_digit(img):
|
| 8 |
img = img.reshape(1, 784)
|
| 9 |
img = img / 255
|