Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|