Spaces:
Runtime error
Runtime error
reshinthadith
commited on
Commit
·
b79a711
1
Parent(s):
7bc33da
Update app.py
Browse files
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 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
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])
|