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

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -4
streamlit_app.py CHANGED
@@ -171,11 +171,8 @@ if st.button('Generate the story'):
171
 
172
  try:
173
  with st.spinner("Generating the story of the video"):
174
- # Process the video
175
- processed-video = get_file(st.session_state["videos"])
176
-
177
  # AI agent processing
178
- response = multimodal_Agent.run(analysis_prompt, videos=[processed-video], safety_settings=safety_settings)
179
 
180
  st.subheader('Analysis Result')
181
  st.markdown(response.content)
 
171
 
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)