craigchen commited on
Commit
c06ee62
·
1 Parent(s): 5cf0262

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ st_model_load.text("")
27
  with st.sidebar:
28
  st.header("Model parameters")
29
  if 'num_queries' not in st.session_state:
30
- st.session_state.num_queries = 5
31
  def on_change_num_titles():
32
  st.session_state.num_titles = num_titles
33
  num_titles = st.slider("Number of queries to generate", min_value=1, max_value=10, value=1, step=1, on_change=on_change_num_titles)
 
27
  with st.sidebar:
28
  st.header("Model parameters")
29
  if 'num_queries' not in st.session_state:
30
+ st.session_state.num_titles = 5
31
  def on_change_num_titles():
32
  st.session_state.num_titles = num_titles
33
  num_titles = st.slider("Number of queries to generate", min_value=1, max_value=10, value=1, step=1, on_change=on_change_num_titles)