From 0c84ebf0d2be86817c1249af746600a57761dc34 Mon Sep 17 00:00:00 2001 From: Madie Laine <106930581+AdieLaine@users.noreply.github.com> Date: Tue, 20 Feb 2024 03:52:48 +0000 Subject: [PATCH] modified: streamly.py --- streamly.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/streamly.py b/streamly.py index 5186faa..d1af072 100644 --- a/streamly.py +++ b/streamly.py @@ -240,10 +240,6 @@ def main(): updates = latest_updates.get("Highlights", {}) if isinstance(updates, dict): # Check if updates is a dictionary initial_bot_message = "### Latest Streamlit Highlights:\n" - for key, value in updates.items(): - description = value.get("Description", "No description available.") - documentation = value.get("Documentation", "No documentation available.") - initial_bot_message += f"- **{key}**: {description}\n - **Documentation**: {documentation}\n" st.session_state.history.append({"role": "assistant", "content": initial_bot_message}) st.session_state.conversation_history = [ {"role": "system", "content": "You are Streamly, a specialized AI assistant trained in Streamlit and the current update and version 1.28."},