ammariii08 commited on
Commit
70b29fe
·
verified ·
1 Parent(s): 3038a9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def load_model(model_path="DDR.pt"):
10
  model = load_model()
11
 
12
  def predict(image):
13
- results = model(image, conf=0.00001)
14
  pred_img = results[0].plot() # Visualize detections
15
  return pred_img
16
 
 
10
  model = load_model()
11
 
12
  def predict(image):
13
+ results = model(image, conf=0.1)
14
  pred_img = results[0].plot() # Visualize detections
15
  return pred_img
16