Spaces:
Runtime error
Runtime error
Update pages/langchain_demo.py
Browse files- pages/langchain_demo.py +2 -2
pages/langchain_demo.py
CHANGED
|
@@ -8,7 +8,7 @@ from utils.chatbox1 import chatbox
|
|
| 8 |
|
| 9 |
st.set_page_config(page_title="Langchain", page_icon="")
|
| 10 |
|
| 11 |
-
st.subheader("California Drinking Water Regulation Chatbot -
|
| 12 |
|
| 13 |
if "messages" not in st.session_state:
|
| 14 |
st.session_state.messages = []
|
|
@@ -17,7 +17,7 @@ if "openai_api_key" not in st.session_state:
|
|
| 17 |
st.info("Enter your openai key to access the chatbot.")
|
| 18 |
else:
|
| 19 |
option = st.selectbox(
|
| 20 |
-
label="Select your model:", options=("gpt-3.5-turbo", "gpt-4")
|
| 21 |
)
|
| 22 |
|
| 23 |
with st.spinner(f"Initializing {option} ..."):
|
|
|
|
| 8 |
|
| 9 |
st.set_page_config(page_title="Langchain", page_icon="")
|
| 10 |
|
| 11 |
+
st.subheader("California Drinking Water Regulation Chatbot - Langchain Demo")
|
| 12 |
|
| 13 |
if "messages" not in st.session_state:
|
| 14 |
st.session_state.messages = []
|
|
|
|
| 17 |
st.info("Enter your openai key to access the chatbot.")
|
| 18 |
else:
|
| 19 |
option = st.selectbox(
|
| 20 |
+
label="Select your model:", options=("gpt-3.5-turbo", "gpt-4", "gpt-4o")
|
| 21 |
)
|
| 22 |
|
| 23 |
with st.spinner(f"Initializing {option} ..."):
|