Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def detect(img,model):
|
|
68 |
(save_dir / 'labels' if save_txt else save_dir).mkdir(parents=True, exist_ok=True) # make dir
|
69 |
|
70 |
# Initialize
|
71 |
-
set_logging()
|
72 |
device = select_device(opt.device)
|
73 |
#print(device)
|
74 |
half = device.type != 'cpu' # half precision only supported on CUDA
|
|
|
68 |
(save_dir / 'labels' if save_txt else save_dir).mkdir(parents=True, exist_ok=True) # make dir
|
69 |
|
70 |
# Initialize
|
71 |
+
#set_logging()
|
72 |
device = select_device(opt.device)
|
73 |
#print(device)
|
74 |
half = device.type != 'cpu' # half precision only supported on CUDA
|