reshinthadith commited on
Commit
46a52fc
·
1 Parent(s): b8dbcb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,9 +8,9 @@ st.title('Pairwise Comparison')
8
  with st.form("dataset_form"):
9
  len_index = st.slider('Dataset Index', 0, total_length,0)
10
  if st.form_submit_button("Load"):
11
- st.text("## Question")
12
  st.text(dataset["train"]["prompt"][len_index])
13
- st.text("## Chosen")
14
  st.text(dataset["train"]["chosen"][len_index])
15
- st.text("## Rejected")
16
  st.text(dataset["train"]["rejected"][len_index])
 
8
  with st.form("dataset_form"):
9
  len_index = st.slider('Dataset Index', 0, total_length,0)
10
  if st.form_submit_button("Load"):
11
+ st.markdown("## Question")
12
  st.text(dataset["train"]["prompt"][len_index])
13
+ st.markdown("## Chosen")
14
  st.text(dataset["train"]["chosen"][len_index])
15
+ st.markdown("## Rejected")
16
  st.text(dataset["train"]["rejected"][len_index])