otmanheddouch commited on
Commit
ffc68d6
·
1 Parent(s): c8793b7

Update detect_app.py

Browse files
Files changed (1) hide show
  1. detect_app.py +0 -1
detect_app.py CHANGED
@@ -8,7 +8,6 @@ st.write("Made by otman heddouch")
8
  st.write("Please upload image of house with Roof ,then the Wamm extracted from the image will be shown above after seconds.")
9
  st.info("make sure the wall is very clear on the image")
10
  #load the model
11
- @st.cache_resource
12
  def load_model_():
13
  model = YOLO("best2.pt")
14
  return model
 
8
  st.write("Please upload image of house with Roof ,then the Wamm extracted from the image will be shown above after seconds.")
9
  st.info("make sure the wall is very clear on the image")
10
  #load the model
 
11
  def load_model_():
12
  model = YOLO("best2.pt")
13
  return model