Spaces:
Runtime error
Runtime error
Rename main.py to app.py
Browse files- main.py → app.py +1 -1
main.py → app.py
RENAMED
@@ -8,7 +8,7 @@ import streamlit as st
|
|
8 |
|
9 |
|
10 |
working_dir = os.path.dirname(os.path.abspath(__file__))
|
11 |
-
model_path = f"{working_dir}/
|
12 |
# Load the pre-trained model
|
13 |
model = tf.keras.models.load_model(model_path)
|
14 |
|
|
|
8 |
|
9 |
|
10 |
working_dir = os.path.dirname(os.path.abspath(__file__))
|
11 |
+
model_path = f"{working_dir}/plant_disease_prediction_model.h5"
|
12 |
# Load the pre-trained model
|
13 |
model = tf.keras.models.load_model(model_path)
|
14 |
|