Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import torch
|
|
4 |
import supervision as sv
|
5 |
import json
|
6 |
import requests
|
|
|
7 |
|
8 |
image_processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50")
|
9 |
model = DetrForObjectDetection.from_pretrained("Guy2/AirportSec-150epoch")
|
|
|
4 |
import supervision as sv
|
5 |
import json
|
6 |
import requests
|
7 |
+
from PIL import Image
|
8 |
|
9 |
image_processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50")
|
10 |
model = DetrForObjectDetection.from_pretrained("Guy2/AirportSec-150epoch")
|