Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def anylize(img):
|
|
9 |
image = img
|
10 |
|
11 |
processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50")
|
12 |
-
model = DetrForObjectDetection.from_pretrained("
|
13 |
|
14 |
inputs = processor(images=image, return_tensors="pt")
|
15 |
outputs = model(**inputs)
|
|
|
9 |
image = img
|
10 |
|
11 |
processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50")
|
12 |
+
model = DetrForObjectDetection.from_pretrained("Guy2/AirportSec-100epoch")
|
13 |
|
14 |
inputs = processor(images=image, return_tensors="pt")
|
15 |
outputs = model(**inputs)
|