Pratyush101 commited on
Commit
1ef6e19
·
verified ·
1 Parent(s): e11ad06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -249,6 +249,7 @@ if "output_text" not in st.session_state:
249
  st.session_state["output_text"] = ""
250
 
251
 
 
252
  def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
253
  img = frame.to_ndarray(format="bgr24")
254
  hands, img = detector.findHands(img, flipType=False)
 
249
  st.session_state["output_text"] = ""
250
 
251
 
252
+ result_queue=queue.Queue()
253
  def video_frame_callback(frame: av.VideoFrame) -> av.VideoFrame:
254
  img = frame.to_ndarray(format="bgr24")
255
  hands, img = detector.findHands(img, flipType=False)