moyanxinxu commited on
Commit
905c604
1 Parent(s): 6f7501d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import supervision as sv
3
  from func import detect_and_track
4
- from transformers import AutoImageProcessor, AutoModelForObjectDetection
5
 
6
  processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50")
7
  model = DetrForObjectDetection.from_pretrained("facebook/detr-resnet-50")
 
1
  import gradio as gr
2
  import supervision as sv
3
  from func import detect_and_track
4
+ from transformers import DetrImageProcessor, DetrForObjectDetection
5
 
6
  processor = DetrImageProcessor.from_pretrained("facebook/detr-resnet-50")
7
  model = DetrForObjectDetection.from_pretrained("facebook/detr-resnet-50")