From a811504b4798b927c65fd96970af5fb32602c05e Mon Sep 17 00:00:00 2001 From: olyatjtaylo <162665321+olyatjtaylo@users.noreply.github.com> Date: Sat, 11 May 2024 10:45:50 -0400 Subject: [PATCH] Update 2_Chat_with_search.py Addedbasemaps.py code --- pages/2_Chat_with_search.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/2_Chat_with_search.py b/pages/2_Chat_with_search.py index 12de4a9b..0daf4c99 100644 --- a/pages/2_Chat_with_search.py +++ b/pages/2_Chat_with_search.py @@ -1,5 +1,6 @@ import streamlit as st - +import streamlit as st +import leafmap.foliumap as leafmap from langchain.agents import initialize_agent, AgentType from langchain.callbacks import StreamlitCallbackHandler from langchain.chat_models import ChatOpenAI @@ -19,8 +20,7 @@ In this example, we're using `StreamlitCallbackHandler` to display the thoughts and actions of an agent in an interactive Streamlit app. Try more LangChain 🤝 Streamlit Agent examples at [github.com/langchain-ai/streamlit-agent](https://github.com/langchain-ai/streamlit-agent). """ -import streamlit as st -import leafmap.foliumap as leafmap + st.set_page_config(layout="wide")