Bhaskar Saranga commited on
Commit
ba61a77
1 Parent(s): 87896d9

Corrected error

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -142,8 +142,7 @@ def inference2(video,model_link,iou_threshold,confidence_threshold):
142
  if not ret:
143
  break
144
  frame,fps = detect(frame,model,device,iou_threshold,confidence_threshold)
145
- print(fps)
146
- fps_video.append[fps]
147
  finalVideo.write(frame)
148
  frames.release()
149
  finalVideo.release()
 
142
  if not ret:
143
  break
144
  frame,fps = detect(frame,model,device,iou_threshold,confidence_threshold)
145
+ fps_video.append(fps)
 
146
  finalVideo.write(frame)
147
  frames.release()
148
  finalVideo.release()