Paul Ke commited on
Commit
cca5717
·
verified ·
1 Parent(s): dd26d3d

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -1
streamlit_app.py CHANGED
@@ -172,7 +172,7 @@ if st.button('Generate the story'):
172
  try:
173
  with st.spinner("Generating the story of the video"):
174
  # AI agent processing
175
- response = multimodal_Agent.run(analysis_prompt, videos=[video_path], safety_settings=safety_settings)
176
 
177
  st.subheader('Analysis Result')
178
  st.markdown(response.content)
 
172
  try:
173
  with st.spinner("Generating the story of the video"):
174
  # AI agent processing
175
+ response = multimodal_Agent.run(analysis_prompt, videos=[st.session_state["videos"]], safety_settings=safety_settings)
176
 
177
  st.subheader('Analysis Result')
178
  st.markdown(response.content)