sohojoe commited on
Commit
ad9371a
1 Parent(s): 162d5c8

prep for video frames

Browse files
Files changed (1) hide show
  1. d_app.py +5 -0
d_app.py CHANGED
@@ -123,6 +123,11 @@ async def main():
123
  table_content += "\n".join([f"| {item} |" for item in reversed(system_one_audio_history)])
124
  system_one_audio_history_output.markdown(table_content)
125
  await st.session_state.chat_pipeline.enqueue(prompt)
 
 
 
 
 
126
  await asyncio.sleep(0.1)
127
 
128
  # try:
 
123
  table_content += "\n".join([f"| {item} |" for item in reversed(system_one_audio_history)])
124
  system_one_audio_history_output.markdown(table_content)
125
  await st.session_state.chat_pipeline.enqueue(prompt)
126
+ video_frames = st.session_state.streamlit_av_queue.get_video_frames()
127
+ if len(video_frames) > 0:
128
+ # for video_frame in video_frames:
129
+ # system_one_video_output.image(video_frame.to_ndarray())
130
+ pass
131
  await asyncio.sleep(0.1)
132
 
133
  # try: