Guy2 commited on
Commit
174826a
1 Parent(s): 35e3931

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")