Spaces:
Sleeping
Sleeping
Commit ·
b3ce2bf
1
Parent(s): 5241209
Update app.py
Browse files70 unmodified lines71727374757677787935 unmodified lines11511611711811912070 unmodified lineswith st.sidebar:st.title("SuSastho.AI - ChatBot 🚀")model_name = model_names[st.selectbox('Model', list(model_names.keys()), 0)]ctx_checker_tmp = st.slider('Context Checker Sensitivity', min_value=0.001, max_value=1.0, value=0.008, step=0.001)lm_tmp = st.slider('Language Model Sensitivity', min_value=0.001, max_value=1.0, value=0.1, step=0.001)35 unmodified lines"config": {"ctx_checker_tmp": ctx_checker_tmp,"lm_tmp": lm_tmp,}}resp = get_user_data(endpoint, params)70 unmodified lines71727374757677787980818235 unmodified lines11811912012112212312470 unmodified lineswith st.sidebar:st.title("SuSastho.AI - ChatBot 🚀")model_name = model_names[st.selectbox('Model', list(model_names.keys()), 0)]max_ctx = st.slider('Select Top N Context', min_value=1, max_value=6, value=4, step=1)# ctx_checker_tmp = st.slider('Context Checker Sensitivity', min_value=0.001, max_value=1.0, value=0.008, step=0.001)ctx_checker_tmp - 0.008lm_tmp = st.slider('Language Model Sensitivity', min_value=0.001, max_value=1.0, value=0.1, step=0.001)35 unmodified lines"config": {"ctx_checker_tmp": ctx_checker_tmp,"lm_tmp": lm_tmp,"max_ctx": max_ctx,}}resp = get_user_data(endpoint, params)
app.py+6-2