Spaces:
Runtime error
Runtime error
typo
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ possible_prompts = ds.unique("prompt")
|
|
35 |
col_1, col_2 = st.columns(2)
|
36 |
with col_1:
|
37 |
st.markdown("<h1 style='text-align: center'>Prompt</h1>", unsafe_allow_html=True)
|
38 |
-
chosen_prompt = st.selectbox("
|
39 |
st.markdown(safe_text(chosen_prompt), unsafe_allow_html=True)
|
40 |
|
41 |
sub_ds = ds.filter(
|
@@ -48,7 +48,7 @@ with col_2:
|
|
48 |
"<h1 style='text-align: center'>Generation</h1>", unsafe_allow_html=True
|
49 |
)
|
50 |
index_sample = st.number_input(
|
51 |
-
"Index of the chosen
|
52 |
min_value=0,
|
53 |
max_value=len(sub_ds) - 1,
|
54 |
value=0,
|
|
|
35 |
col_1, col_2 = st.columns(2)
|
36 |
with col_1:
|
37 |
st.markdown("<h1 style='text-align: center'>Prompt</h1>", unsafe_allow_html=True)
|
38 |
+
chosen_prompt = st.selectbox("Choose a prompt", possible_prompts)
|
39 |
st.markdown(safe_text(chosen_prompt), unsafe_allow_html=True)
|
40 |
|
41 |
sub_ds = ds.filter(
|
|
|
48 |
"<h1 style='text-align: center'>Generation</h1>", unsafe_allow_html=True
|
49 |
)
|
50 |
index_sample = st.number_input(
|
51 |
+
"Index of the chosen generation",
|
52 |
min_value=0,
|
53 |
max_value=len(sub_ds) - 1,
|
54 |
value=0,
|