Deepak107 commited on
Commit
917fdfa
1 Parent(s): 27282d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from tensorflow import keras
2
  import gradio as gr
3
- model = keras.models.load_model('facial_expression1.h5')
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):