vishalkatheriya18 commited on
Commit
199e804
1 Parent(s): fae5ae3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import time
7
 
8
  # Load the YOLO model only once using Streamlit session state
9
  if 'models_loaded' not in st.session_state:
10
- st.session_state.yolo_model = YOLO('/kaggle/working/classification_project/yolo_classification/weights/best.pt') # Update with your model path
11
  st.session_state.models_loaded = True
12
 
13
  # Define function for inference using YOLO
 
7
 
8
  # Load the YOLO model only once using Streamlit session state
9
  if 'models_loaded' not in st.session_state:
10
+ st.session_state.yolo_model = YOLO('best.pt') # Update with your model path
11
  st.session_state.models_loaded = True
12
 
13
  # Define function for inference using YOLO