Pedro Henrique Conrado commited on
Commit
7e0d391
·
1 Parent(s): 5acaf77
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,13 +15,13 @@ from supervision import VideoInfo
15
  from supervision import get_video_frames_generator
16
  from supervision import VideoSink
17
  import torch
18
- os.system("pip install git+https://github.com/Megvii-BaseDetection/YOLOX")
19
  from typing import List
20
  import numpy as np
21
  import gradio as gr
22
  from tqdm import tqdm
23
  import yolox
24
- from yolox import BYTETracker, STrack
25
 
26
 
27
  MODEL = "./best.pt"
 
15
  from supervision import get_video_frames_generator
16
  from supervision import VideoSink
17
  import torch
18
+ os.system("pip install git+https://github.com/ifzhang/ByteTrack")
19
  from typing import List
20
  import numpy as np
21
  import gradio as gr
22
  from tqdm import tqdm
23
  import yolox
24
+ from yolox.tracker.byte_tracker import BYTETracker, STrack
25
 
26
 
27
  MODEL = "./best.pt"