craigchen commited on
Commit
671f001
·
1 Parent(s): 7962213

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ with st.sidebar:
35
  st.session_state.temperature = 0.7
36
  def on_change_temperatures():
37
  st.session_state.temperature = temperature
38
- temperature = st.slider("Temperature", min_value=0.1, max_value=1.5, value=0.6, step=0.05, on_change=on_change_temperatures)
39
  st.markdown("_High temperature means that results are more random_")
40
 
41
  if 'text' not in st.session_state:
 
35
  st.session_state.temperature = 0.7
36
  def on_change_temperatures():
37
  st.session_state.temperature = temperature
38
+ temperature = st.slider("Temperature", min_value=0.1, max_value=1.5, value=1.5, step=0.05, on_change=on_change_temperatures)
39
  st.markdown("_High temperature means that results are more random_")
40
 
41
  if 'text' not in st.session_state: