Spaces:
Build error
Build error
Paul Ke commited on
Update streamlit_app.py
Browse files- 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=[
|
| 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)
|