Spaces:
Runtime error
Runtime error
reshinthadith
commited on
Commit
·
46a52fc
1
Parent(s):
b8dbcb9
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 |
-
st.
|
12 |
st.text(dataset["train"]["prompt"][len_index])
|
13 |
-
st.
|
14 |
st.text(dataset["train"]["chosen"][len_index])
|
15 |
-
st.
|
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])
|