stevafernandes commited on
Commit
37bcf18
·
verified ·
1 Parent(s): b8ca55f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,7 +70,7 @@ def main():
70
  st.stop()
71
 
72
  # Step 2: Upload Video
73
- st.subheader("Step 2: Upload your video file")
74
  uploaded_file = st.file_uploader("Upload a video", type=['mp4', 'mov', 'avi', 'mkv', 'webm'])
75
 
76
  if uploaded_file:
@@ -153,7 +153,7 @@ def main():
153
  st.rerun()
154
 
155
  # Step 3: Chat about Video
156
- st.subheader("Step 3: Chat with your video")
157
 
158
  if st.session_state.video_file:
159
  # Display chat history
@@ -184,7 +184,7 @@ def main():
184
  placeholder.markdown(response)
185
  st.session_state.messages.append({"role": "assistant", "content": response})
186
  else:
187
- st.info("Please upload a video in Step 2 to start chatting.")
188
 
189
  if __name__ == "__main__":
190
  main()
 
70
  st.stop()
71
 
72
  # Step 2: Upload Video
73
+ st.subheader("Step 1: Upload your video file")
74
  uploaded_file = st.file_uploader("Upload a video", type=['mp4', 'mov', 'avi', 'mkv', 'webm'])
75
 
76
  if uploaded_file:
 
153
  st.rerun()
154
 
155
  # Step 3: Chat about Video
156
+ st.subheader("Step 2: Chat with your video")
157
 
158
  if st.session_state.video_file:
159
  # Display chat history
 
184
  placeholder.markdown(response)
185
  st.session_state.messages.append({"role": "assistant", "content": response})
186
  else:
187
+ st.info("Please upload a video in Step 1 to start chatting.")
188
 
189
  if __name__ == "__main__":
190
  main()