Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,8 @@ import io
|
|
| 22 |
app = Flask(__name__)
|
| 23 |
|
| 24 |
# Load the pre-trained TensorFlow model
|
| 25 |
-
model = tf.keras.models.load_model("imageclassifier.h5")
|
|
|
|
| 26 |
|
| 27 |
# Define the function to predict the teeth health
|
| 28 |
def predict_teeth_health(image):
|
|
|
|
| 22 |
app = Flask(__name__)
|
| 23 |
|
| 24 |
# Load the pre-trained TensorFlow model
|
| 25 |
+
model = tf.keras.models.load_model("/absolute/path/to/imageclassifier.h5")
|
| 26 |
+
|
| 27 |
|
| 28 |
# Define the function to predict the teeth health
|
| 29 |
def predict_teeth_health(image):
|