Spaces:
Runtime error
Runtime error
Upload detector.py
Browse files- detector.py +2 -2
detector.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
|
| 2 |
import torch
|
| 3 |
import clip
|
| 4 |
from PIL import Image
|
| 5 |
from torch.cuda.amp import autocast as autocast
|
| 6 |
from huggingface_hub import hf_hub_download
|
| 7 |
-
|
| 8 |
|
| 9 |
from model import flow_model
|
| 10 |
from augmentations_clip import DataAugmentationCLIP as DataAugmentationCLIP_test
|
|
|
|
| 1 |
+
import spaces
|
| 2 |
import torch
|
| 3 |
import clip
|
| 4 |
from PIL import Image
|
| 5 |
from torch.cuda.amp import autocast as autocast
|
| 6 |
from huggingface_hub import hf_hub_download
|
| 7 |
+
|
| 8 |
|
| 9 |
from model import flow_model
|
| 10 |
from augmentations_clip import DataAugmentationCLIP as DataAugmentationCLIP_test
|