Spaces:
Sleeping
Sleeping
Commit ·
79cdac4
1
Parent(s): 32b3b0a
fix model typo
Browse files- src/prediction.py +1 -1
src/prediction.py
CHANGED
|
@@ -21,7 +21,7 @@ class_names = [
|
|
| 21 |
@st.cache_resource
|
| 22 |
def load_model_from_hub():
|
| 23 |
model_path = hf_hub_download(
|
| 24 |
-
repo_id="Heizsenberg/leaf-classification
|
| 25 |
filename="leaf_detection_model.keras"
|
| 26 |
)
|
| 27 |
model = tf.keras.models.load_model(model_path)
|
|
|
|
| 21 |
@st.cache_resource
|
| 22 |
def load_model_from_hub():
|
| 23 |
model_path = hf_hub_download(
|
| 24 |
+
repo_id="Heizsenberg/tomato-leaf-classification",
|
| 25 |
filename="leaf_detection_model.keras"
|
| 26 |
)
|
| 27 |
model = tf.keras.models.load_model(model_path)
|