Spaces:
Runtime error
Runtime error
NassimeBejaia
commited on
Commit
•
2ef0d6c
1
Parent(s):
b292ff5
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def prediction(vname):
|
|
82 |
|
83 |
st.write('vpath befor calling track : ', vpath)
|
84 |
|
85 |
-
os.system("python test_detection/track.py --
|
86 |
|
87 |
path = 'inference/output/'
|
88 |
#st.write(os.path.exists(path), os.path.exists('inference/output/output'+vname))
|
|
|
82 |
|
83 |
st.write('vpath befor calling track : ', vpath)
|
84 |
|
85 |
+
os.system("python test_detection/track.py --yolo_weights test_detection/yolov5/weights/crowdhuman_yolov5m.pt --img 352 --save-vid --save-txt --classes 1 --conf-thres 0.4 --source " + vpath)
|
86 |
|
87 |
path = 'inference/output/'
|
88 |
#st.write(os.path.exists(path), os.path.exists('inference/output/output'+vname))
|