xu3kev commited on
Commit
488a55a
1 Parent(s): 4f34678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ chosen_language = st.sidebar.selectbox(
27
 
28
  samples = load_data(chosen_language)
29
  st.sidebar.header('Sample Selection')
30
- index_example = st.sidebar.number_input(f"Choose a sample from the existing {len(samples)} notebooks:", min_value=0, max_value=max(0, len(samples)-1), value=0, step=1)
31
 
32
  #db_id = samples[index_example]["db_id"]
33
  #st.markdown(f'<h2 style="color:blue;">{index_example} Question:</h2>', unsafe_allow_html=True)
 
27
 
28
  samples = load_data(chosen_language)
29
  st.sidebar.header('Sample Selection')
30
+ index_example = st.sidebar.number_input(f"Choose a sample from the existing {len(samples)} samples:", min_value=0, max_value=max(0, len(samples)-1), value=0, step=1)
31
 
32
  #db_id = samples[index_example]["db_id"]
33
  #st.markdown(f'<h2 style="color:blue;">{index_example} Question:</h2>', unsafe_allow_html=True)