awacke1 commited on
Commit
55a470d
·
verified ·
1 Parent(s): 88e606f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2099,7 +2099,9 @@ for file in video_files_mp3:
2099
  st.rerun()
2100
 
2101
  # ChatBot Entry
2102
- if prompt := st.chat_input("GPT-4o Multimodal ChatBot - What can I help you with?"):
 
 
2103
  st.session_state.messages.append({"role": "user", "content": prompt})
2104
  with st.chat_message("user"):
2105
  st.markdown(prompt)
 
2099
  st.rerun()
2100
 
2101
  # ChatBot Entry
2102
+ # 📄 Paper of the Day - Vector index by unique_key with search comparator with vector topics in search
2103
+ unique_key = hashlib.sha256(str(time.time()).encode()).hexdigest()
2104
+ if prompt := st.chat_input("GPT-4o Multimodal ChatBot - What can I help you with?", key=unique_key):
2105
  st.session_state.messages.append({"role": "user", "content": prompt})
2106
  with st.chat_message("user"):
2107
  st.markdown(prompt)