Spaces:
Runtime error
Runtime error
reshinthadith
commited on
Commit
•
55f3e96
1
Parent(s):
c452eaa
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ 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.
|
13 |
st.markdown("## Chosen")
|
14 |
chosen_text = dataset["train"]["chosen"][len_index]
|
15 |
if "Critique" in chosen_text:
|
|
|
9 |
len_index = st.slider('Dataset Index', 0, total_length,0)
|
10 |
if st.form_submit_button("Load"):
|
11 |
st.markdown("## Question")
|
12 |
+
st.markdown(dataset["train"]["prompt"][len_index],unsafe_allow_html=True)
|
13 |
st.markdown("## Chosen")
|
14 |
chosen_text = dataset["train"]["chosen"][len_index]
|
15 |
if "Critique" in chosen_text:
|