Spaces:
Running
Running
Fatih
commited on
Commit
·
5e3a4fb
1
Parent(s):
9e174cb
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def get_model():
|
|
| 45 |
detection_model = sahi.model.MmdetDetectionModel(
|
| 46 |
model_path=model_path,
|
| 47 |
config_path=config_path,
|
| 48 |
-
confidence_threshold=0.
|
| 49 |
device="cpu",
|
| 50 |
)
|
| 51 |
return detection_model
|
|
|
|
| 45 |
detection_model = sahi.model.MmdetDetectionModel(
|
| 46 |
model_path=model_path,
|
| 47 |
config_path=config_path,
|
| 48 |
+
confidence_threshold=0.5,
|
| 49 |
device="cpu",
|
| 50 |
)
|
| 51 |
return detection_model
|