bohmian commited on
Commit
280f7f3
1 Parent(s): 6a15949

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -454,12 +454,12 @@ if page == "Chat Config":
454
  key="model"
455
  )
456
 
457
- st.slider(
458
  "Temperature",
459
  0.0, 1.0, 0.05,
460
- #value = st.session_state['temperature'],
461
- on_change=get_retrievers,
462
- key="temperature"
463
  )
464
 
465
 
 
454
  key="model"
455
  )
456
 
457
+ st.session_state['temperature'] = st.slider(
458
  "Temperature",
459
  0.0, 1.0, 0.05,
460
+ value = st.session_state['temperature'],
461
+ on_change=get_llm,
462
+ # key="temperature"
463
  )
464
 
465