Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,7 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
import numpy as np
|
| 3 |
-
from
|
| 4 |
-
|
| 5 |
-
model = from_pretrained_keras("Alim2003/digits")
|
| 6 |
|
|
|
|
| 7 |
|
| 8 |
def greet(img):
|
| 9 |
img = np.expand_dims(img, axis = 0)
|
|
|
|
|
|
|
| 1 |
import numpy as np
|
| 2 |
+
from tensorflow import keras
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
mpdel = keras.models.load_model('my_model')
|
| 5 |
|
| 6 |
def greet(img):
|
| 7 |
img = np.expand_dims(img, axis = 0)
|