akshit-g commited on
Commit
95b893a
·
verified ·
1 Parent(s): edd358f

Update webcam_gradio_demo.py

Browse files
Files changed (1) hide show
  1. webcam_gradio_demo.py +2 -2
webcam_gradio_demo.py CHANGED
@@ -92,12 +92,12 @@ with gr.Blocks() as demo:
92
  def live_video():
93
  while True:
94
  if latest_img is None:
95
- time.sleep(5)
96
  else:
97
  for text in answer_question(latest_img, latest_prompt):
98
  if len(text) > 0:
99
  yield text
100
- time.sleep(5)
101
 
102
 
103
  demo.queue().launch(debug=True, share=True)
 
92
  def live_video():
93
  while True:
94
  if latest_img is None:
95
+ time.sleep(7)
96
  else:
97
  for text in answer_question(latest_img, latest_prompt):
98
  if len(text) > 0:
99
  yield text
100
+ time.sleep(3)
101
 
102
 
103
  demo.queue().launch(debug=True, share=True)