Spaces:
Sleeping
Sleeping
Update detector.py
Browse files- detector.py +2 -0
detector.py
CHANGED
|
@@ -31,6 +31,8 @@ from typing import Optional
|
|
| 31 |
|
| 32 |
import numpy as np
|
| 33 |
import torch
|
|
|
|
|
|
|
| 34 |
|
| 35 |
log = logging.getLogger("detector")
|
| 36 |
logging.basicConfig(level=logging.INFO, format="%(levelname)s [%(name)s] %(message)s")
|
|
|
|
| 31 |
|
| 32 |
import numpy as np
|
| 33 |
import torch
|
| 34 |
+
from huggingface_hub import hf_hub_download
|
| 35 |
+
|
| 36 |
|
| 37 |
log = logging.getLogger("detector")
|
| 38 |
logging.basicConfig(level=logging.INFO, format="%(levelname)s [%(name)s] %(message)s")
|