MilanM commited on
Commit
00492a4
·
verified ·
1 Parent(s): eb66c4f

Update tribunal_4.py

Browse files
Files changed (1) hide show
  1. tribunal_4.py +9 -1
tribunal_4.py CHANGED
@@ -418,4 +418,12 @@ def main():
418
  st.session_state.chat_history_3
419
  )
420
  st.session_state.chat_history_3.append({"role": genparam.BOT_3_NAME, "content": response, "avatar": genparam.BOT_3_AVATAR})
421
- st.markdown("</div></div>", unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
418
  st.session_state.chat_history_3
419
  )
420
  st.session_state.chat_history_3.append({"role": genparam.BOT_3_NAME, "content": response, "avatar": genparam.BOT_3_AVATAR})
421
+ st.markdown("</div></div>", unsafe_allow_html=True)
422
+
423
+ # Update sidebar with new question
424
+ st.sidebar.markdown("---") # Add divider
425
+ st.sidebar.markdown("**Latest Question:**")
426
+ st.sidebar.markdown(f"_{user_input}_")
427
+
428
+ if __name__ == "__main__":
429
+ main()