diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 816ff856..0e2a6683 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -14,4 +14,5 @@ - [Evandro Franco](https://github.com/evandrofranco) - [Sanghwa Na](https://github.com/didhd) - [Neelam Koshiya](https://github.com/neelamkoshiya) -- [Asif Mithawala](https://github.com/asifma) \ No newline at end of file +- [Asif Mithawala](https://github.com/asifma) +- [Madhu Nunna](https://github.com/madhununna) \ No newline at end of file diff --git a/python/07-ux-demos/streamlit-template/docker_app/app_streaming.py b/python/07-ux-demos/streamlit-template/docker_app/app_streaming.py index b6cd1fc3..39e5f311 100644 --- a/python/07-ux-demos/streamlit-template/docker_app/app_streaming.py +++ b/python/07-ux-demos/streamlit-template/docker_app/app_streaming.py @@ -15,6 +15,10 @@ if "messages" not in st.session_state: st.session_state.messages = [] +# Initialize details placeholder +if "details_placeholder" not in st.session_state: + st.session_state.details_placeholder = st.empty() + # ID of Secrets Manager containing cognito parameters secrets_manager_id = Config.SECRETS_MANAGER_ID