Spaces:
Sleeping
Sleeping
Commit
·
d039f64
1
Parent(s):
86183be
Set cuda to false for detection model
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def get_detection_model(model_choice):
|
|
131 |
blackbox_detector = ResNetFRCNN(
|
132 |
box_thresh=0.05,
|
133 |
img_batch_size=1,
|
134 |
-
use_cuda=
|
135 |
)
|
136 |
|
137 |
else:
|
|
|
131 |
blackbox_detector = ResNetFRCNN(
|
132 |
box_thresh=0.05,
|
133 |
img_batch_size=1,
|
134 |
+
use_cuda=False
|
135 |
)
|
136 |
|
137 |
else:
|