Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1737,7 +1737,7 @@ if 'conversation_history' not in st.session_state:
|
|
| 1737 |
st.session_state.conversation_history = {}
|
| 1738 |
|
| 1739 |
# Load YOLOv8 model
|
| 1740 |
-
yolo_model = YOLO("/model/plantdoc_model_yolov8.pt")
|
| 1741 |
|
| 1742 |
def preprocess_image(image, target_size=(224, 224)):
|
| 1743 |
"""
|
|
|
|
| 1737 |
st.session_state.conversation_history = {}
|
| 1738 |
|
| 1739 |
# Load YOLOv8 model
|
| 1740 |
+
yolo_model = YOLO("./model/plantdoc_model_yolov8.pt")
|
| 1741 |
|
| 1742 |
def preprocess_image(image, target_size=(224, 224)):
|
| 1743 |
"""
|