sadimanna commited on
Commit
d3c5012
·
1 Parent(s): 3c6c361

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -326,14 +326,14 @@ if __name__ == "__main__":
326
  async_processing=True,
327
  )
328
 
329
- if st.checkbox("Show the detected labels", value=True):
330
- if webrtc_ctx.state.playing:
331
- labels_placeholder = st.empty()
332
- # NOTE: The video transformation with object detection and
333
- # this loop displaying the result labels are running
334
- # in different threads asynchronously.
335
- # Then the rendered video frames and the labels displayed here
336
- # are not strictly synchronized.
337
 
338
  st.markdown(
339
  "This demo uses a model and code from "
 
326
  async_processing=True,
327
  )
328
 
329
+ # if st.checkbox("Show the detected labels", value=True):
330
+ # if webrtc_ctx.state.playing:
331
+ # labels_placeholder = st.empty()
332
+ # # NOTE: The video transformation with object detection and
333
+ # # this loop displaying the result labels are running
334
+ # # in different threads asynchronously.
335
+ # # Then the rendered video frames and the labels displayed here
336
+ # # are not strictly synchronized.
337
 
338
  st.markdown(
339
  "This demo uses a model and code from "