Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,16 +17,16 @@ from langchain.retrievers import EnsembleRetriever
|
|
| 17 |
import streamlit as st
|
| 18 |
|
| 19 |
# Streamlit App Configuration (gets model_name, index_name, namespace_name before needed)
|
| 20 |
-
st.set_page_config(page_title="Chat with
|
| 21 |
-
st.markdown("<h1 style='text-align: center;'>Select your
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
-
namespace_name = st.sidebar.selectbox("Choose a
|
| 26 |
|
| 27 |
value = st.sidebar.slider('Files to retrieve', min_value=1.0, max_value=4.0, step=1.0)
|
| 28 |
|
| 29 |
-
namespace_name2 = st.sidebar.selectbox("Choose a
|
| 30 |
|
| 31 |
value2 = st.sidebar.slider('Files to retrieve', min_value=1.0, max_value=4.0, step=1.0, key='website2')
|
| 32 |
|
|
|
|
| 17 |
import streamlit as st
|
| 18 |
|
| 19 |
# Streamlit App Configuration (gets model_name, index_name, namespace_name before needed)
|
| 20 |
+
st.set_page_config(page_title="Chat with Langgraph and Autogen Repos", page_icon="🟩")
|
| 21 |
+
st.markdown("<h1 style='text-align: center;'>Select your repo and begin chatting:</h1>", unsafe_allow_html=True)
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
+
namespace_name = st.sidebar.selectbox("Choose a Repo", ("Langgraph", ""))
|
| 26 |
|
| 27 |
value = st.sidebar.slider('Files to retrieve', min_value=1.0, max_value=4.0, step=1.0)
|
| 28 |
|
| 29 |
+
namespace_name2 = st.sidebar.selectbox("Choose a Repo", ("Autogen", ""))
|
| 30 |
|
| 31 |
value2 = st.sidebar.slider('Files to retrieve', min_value=1.0, max_value=4.0, step=1.0, key='website2')
|
| 32 |
|