Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ model = None
|
|
119 |
# Function to load the model
|
120 |
def load_model():
|
121 |
global model
|
122 |
-
model_path =
|
123 |
if not os.path.exists(model_path):
|
124 |
logging.error(f"Model file does not exist at path: {model_path}")
|
125 |
return False
|
|
|
119 |
# Function to load the model
|
120 |
def load_model():
|
121 |
global model
|
122 |
+
model_path = 'Model1_kera.h5' # Replace with the actual path to your model file
|
123 |
if not os.path.exists(model_path):
|
124 |
logging.error(f"Model file does not exist at path: {model_path}")
|
125 |
return False
|