Martlgap commited on
Commit
87c7391
·
1 Parent(s): 57501bc

info container

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -69,6 +69,9 @@ stream_container = st.empty()
69
  st.markdown("**Matches**")
70
  matches_container = st.info("No matches found yet ...")
71
 
 
 
 
72
 
73
  # Init face detector and face recognizer
74
  face_recognizer = rt.InferenceSession("model.fixed.onnx", providers=rt.get_available_providers())
@@ -394,7 +397,7 @@ if ctx.state.playing:
394
  frame = grabber.get_frame()
395
  if frame is not None:
396
  # Print frame timestamp to streamlit
397
- st.write(f"Frame timestamp: {frame.time}")
398
 
399
  # Run face detection and recognition
400
  frame, matches = video_frame_callback(frame)
 
69
  st.markdown("**Matches**")
70
  matches_container = st.info("No matches found yet ...")
71
 
72
+ st.markdown("**Info**")
73
+ info_container = st.empty()
74
+
75
 
76
  # Init face detector and face recognizer
77
  face_recognizer = rt.InferenceSession("model.fixed.onnx", providers=rt.get_available_providers())
 
397
  frame = grabber.get_frame()
398
  if frame is not None:
399
  # Print frame timestamp to streamlit
400
+ info_container.write(f"Frame timestamp: {frame.time}")
401
 
402
  # Run face detection and recognition
403
  frame, matches = video_frame_callback(frame)