Spaces:
Runtime error
Runtime error
reshinthadith
commited on
Commit
·
7ae7485
1
Parent(s):
73f5702
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ with st.form("dataset_form"):
|
|
17 |
else:
|
18 |
st.text(chosen_text)
|
19 |
rejected_text = dataset["train"]["rejected"][len_index]
|
|
|
20 |
if "Critique" in rejected_text:
|
21 |
st.text(rejected_text.split("Critique")[1])
|
22 |
else:
|
|
|
17 |
else:
|
18 |
st.text(chosen_text)
|
19 |
rejected_text = dataset["train"]["rejected"][len_index]
|
20 |
+
st.markdown("## Rejected")
|
21 |
if "Critique" in rejected_text:
|
22 |
st.text(rejected_text.split("Critique")[1])
|
23 |
else:
|