Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from keras.models import load_model
|
2 |
from PIL import Image, ImageOps
|
3 |
import numpy as np
|
@@ -10,7 +11,7 @@ model = load_model('keras_model.h5')
|
|
10 |
|
11 |
|
12 |
def greet(name):
|
13 |
-
return "Hello " +
|
14 |
|
15 |
def predict(image):
|
16 |
|
|
|
1 |
+
from tensorflow import keras
|
2 |
from keras.models import load_model
|
3 |
from PIL import Image, ImageOps
|
4 |
import numpy as np
|
|
|
11 |
|
12 |
|
13 |
def greet(name):
|
14 |
+
return "Hello " + prediction + "!!"
|
15 |
|
16 |
def predict(image):
|
17 |
|