reshinthadith commited on
Commit
5fa5e9a
·
1 Parent(s): b79a711

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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.markdown(dataset["train"]["prompt"][len_index])
13
- st.text("Chosen")
14
- st.markdown(dataset["train"]["chosen"][len_index])
15
- st.text("Rejected")
16
- st.markdown(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.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])