Skip to content

Commit

Permalink
modified: streamly.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AdieLaine committed Feb 20, 2024
1 parent 65ada83 commit 0c84ebf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions streamly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."},
Expand Down

0 comments on commit 0c84ebf

Please sign in to comment.