Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ model_path = "pokemon.keras"
|
|
| 8 |
model = tf.keras.models.load_model(model_path)
|
| 9 |
model.summary() # Check if the model architecture loaded matches the expected one
|
| 10 |
|
| 11 |
-
labels = ['
|
| 12 |
|
| 13 |
# Define regression function
|
| 14 |
def predict_regression(image):
|
|
|
|
| 8 |
model = tf.keras.models.load_model(model_path)
|
| 9 |
model.summary() # Check if the model architecture loaded matches the expected one
|
| 10 |
|
| 11 |
+
labels = ['0','1','2','3','4']
|
| 12 |
|
| 13 |
# Define regression function
|
| 14 |
def predict_regression(image):
|