Skip to content

Commit

Permalink
modified: streamly.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AdieLaine committed May 4, 2024
1 parent 03ae631 commit 53ca802
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions streamly.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Streamlit Page Configuration
st.set_page_config(
page_title="Streamly Streamlit Assistant",
page_title="Streamly - An Intelligent Streamlit Assistant",
page_icon="imgs/avatar_streamly.png",
layout="wide",
initial_sidebar_state="expanded",
Expand Down Expand Up @@ -291,7 +291,7 @@ def img_to_base64(image_path):
st.sidebar.markdown("---")

# Sidebar for Mode Selection
mode = st.sidebar.radio("Select Mode:", options=["Latest Updates", "Chat with Streamly"], index=1)
#mode = st.sidebar.radio("Select Mode:", options=["Latest Updates", "Chat with Streamly"], index=1)
use_langchain = st.sidebar.checkbox("Use LangChain OpenAI Adapter 🦜️🔗 ", value=False)
st.sidebar.markdown("---")
# Toggle checkbox in the sidebar for basic interactions
Expand Down Expand Up @@ -339,7 +339,7 @@ def img_to_base64(image_path):
st.stop()

# Handle Chat and Update Modes
if mode == "Chat with Streamly":
if mode == "Chat with Streamly": # type: ignore
chat_input = st.chat_input("Ask me about Streamlit updates:")
if chat_input:
latest_updates = load_streamlit_updates()
Expand Down

0 comments on commit 53ca802

Please sign in to comment.