Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ st.set_page_config(
|
|
| 13 |
|
| 14 |
# Load the trained model
|
| 15 |
try:
|
| 16 |
-
MODEL_PATH = '
|
| 17 |
if not os.path.exists(MODEL_PATH):
|
| 18 |
st.error("Model file not found. Please ensure model.h5 exists in the 'models' directory")
|
| 19 |
st.stop()
|
|
|
|
| 13 |
|
| 14 |
# Load the trained model
|
| 15 |
try:
|
| 16 |
+
MODEL_PATH = 'model.h5'
|
| 17 |
if not os.path.exists(MODEL_PATH):
|
| 18 |
st.error("Model file not found. Please ensure model.h5 exists in the 'models' directory")
|
| 19 |
st.stop()
|