Spaces:
Runtime error
Runtime error
moyanxinxu
commited on
Commit
•
905c604
1
Parent(s):
6f7501d
Update app.py
Browse files
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
|
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")
|