Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from tensorflow import keras
|
2 |
import gradio as gr
|
3 |
-
model = keras.models.load_model('
|
4 |
class_names = ['angry', 'disgust', 'fear', 'happy', 'neutral', 'sad', 'surprise']
|
5 |
|
6 |
def predict_input_image(img):
|
|
|
1 |
from tensorflow import keras
|
2 |
import gradio as gr
|
3 |
+
model = keras.models.load_model('emotion_model.h5')
|
4 |
class_names = ['angry', 'disgust', 'fear', 'happy', 'neutral', 'sad', 'surprise']
|
5 |
|
6 |
def predict_input_image(img):
|