Wen-Ding Li commited on
Commit
9ce13ca
·
1 Parent(s): 6f6391b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ st.sidebar.header('Sample Selection')
22
  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)
23
 
24
  db_id = samples[index_example]["db_id"]
25
- st.markdown(f'<h2 style="color:blue;">{db_id} schema:</h2>', unsafe_allow_html=True)
26
  st.code(samples[index_example]["schema"])
27
  st.markdown(f'<h2 style="color:blue;">{index_example} Question:</h2>', unsafe_allow_html=True)
28
  st.code(samples[index_example]["question"])
 
22
  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)
23
 
24
  db_id = samples[index_example]["db_id"]
25
+ st.markdown(f'<h2 style="color:blue;">Database {db_id} schema:</h2>', unsafe_allow_html=True)
26
  st.code(samples[index_example]["schema"])
27
  st.markdown(f'<h2 style="color:blue;">{index_example} Question:</h2>', unsafe_allow_html=True)
28
  st.code(samples[index_example]["question"])