Spaces:
Runtime error
Runtime error
OmarEllethy
commited on
Commit
•
5723f1a
1
Parent(s):
71168f5
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,9 @@ import io
|
|
22 |
app = Flask(__name__)
|
23 |
|
24 |
# Load the pre-trained TensorFlow model
|
25 |
-
model
|
|
|
|
|
26 |
|
27 |
|
28 |
# Define the function to predict the teeth health
|
|
|
22 |
app = Flask(__name__)
|
23 |
|
24 |
# Load the pre-trained TensorFlow model
|
25 |
+
# Load the pre-trained TensorFlow model (assuming it's in the same directory as app.py)
|
26 |
+
model = tf.keras.models.load_model("imageclassifier.h5")
|
27 |
+
|
28 |
|
29 |
|
30 |
# Define the function to predict the teeth health
|