Spaces:
Sleeping
Sleeping
sidebar updated
Browse files
app.py
CHANGED
@@ -48,16 +48,15 @@ st.sidebar.warning("Select a website first!")
|
|
48 |
option = st.sidebar.selectbox("Which website do you want to ask?", ("YSA", "Larkin"))
|
49 |
st.sidebar.warning("Runnning AI Judge takes longer.")
|
50 |
run_ai_judge = st.sidebar.selectbox(
|
51 |
-
"Shall we run AI Judge to provide additional scores?", ("
|
52 |
)
|
53 |
special_threshold = st.sidebar.number_input(
|
54 |
"Insert a number", value=0.2, placeholder="Type a number..."
|
55 |
-
)
|
56 |
-
clear_button = st.sidebar.button("Clear Conversation", key="clear")
|
57 |
st.sidebar.warning(
|
58 |
"The 'distances' measures how close your question is to the questions in our database (lower the score the better). The 'ai_judge' measures independent similarity ranking of database answers and user's question (the higher the better)."
|
59 |
)
|
60 |
-
|
61 |
if clear_button:
|
62 |
st.session_state.messages = []
|
63 |
|
|
|
48 |
option = st.sidebar.selectbox("Which website do you want to ask?", ("YSA", "Larkin"))
|
49 |
st.sidebar.warning("Runnning AI Judge takes longer.")
|
50 |
run_ai_judge = st.sidebar.selectbox(
|
51 |
+
"Shall we run AI Judge to provide additional scores?", ("No", "Yes")
|
52 |
)
|
53 |
special_threshold = st.sidebar.number_input(
|
54 |
"Insert a number", value=0.2, placeholder="Type a number..."
|
55 |
+
)
|
|
|
56 |
st.sidebar.warning(
|
57 |
"The 'distances' measures how close your question is to the questions in our database (lower the score the better). The 'ai_judge' measures independent similarity ranking of database answers and user's question (the higher the better)."
|
58 |
)
|
59 |
+
clear_button = st.sidebar.button("Clear Conversation", key="clear")
|
60 |
if clear_button:
|
61 |
st.session_state.messages = []
|
62 |
|