Pratyush101 commited on
Commit
ff6ba73
·
verified ·
1 Parent(s): df3d6b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ result_queue = queue.Queue()
66
  #####FromHERE CHANGE
67
  # Function to process video frame callback
68
  # Function to process video frame callback
69
- def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
70
  # Process the frame asynchronously
71
  output_text = process_video_frame(frame, detector, segmentor, imgList, indexImg, keys, st.session_state)
72
  # Put the processed output text into the queue
 
66
  #####FromHERE CHANGE
67
  # Function to process video frame callback
68
  # Function to process video frame callback
69
+ def video_frame_callback(frame)
70
  # Process the frame asynchronously
71
  output_text = process_video_frame(frame, detector, segmentor, imgList, indexImg, keys, st.session_state)
72
  # Put the processed output text into the queue