Ahmed235 commited on
Commit
5bbc116
1 Parent(s): 59638ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import numpy as np
3
  import gradio as gr
4
  import tensorflow as tf
5
  from PIL import Image
6
-
7
  # Load the model
8
  model_path = 'final_teath_classifier.h5'
9
  model = tf.keras.models.load_model(model_path)
 
3
  import gradio as gr
4
  import tensorflow as tf
5
  from PIL import Image
6
+ from tensorflow.keras.models import load_model
7
  # Load the model
8
  model_path = 'final_teath_classifier.h5'
9
  model = tf.keras.models.load_model(model_path)