Paula Leonova
commited on
Commit
·
3d41bbf
1
Parent(s):
bd0c13f
Add additional spacing between form steps
Browse files
app.py
CHANGED
|
@@ -82,6 +82,7 @@ with st.form(key='my_form'):
|
|
| 82 |
###################################
|
| 83 |
######## Form: Step 2 ##########
|
| 84 |
###################################
|
|
|
|
| 85 |
st.markdown("##### Step 2: Enter Labels")
|
| 86 |
labels = st.text_input('Enter possible topic labels, which can be either keywords and/or general themes (comma-separated):',input_labels, max_chars=2000)
|
| 87 |
labels = list(set([x.strip() for x in labels.strip().split(',') if len(x.strip()) > 0]))
|
|
@@ -94,6 +95,7 @@ with st.form(key='my_form'):
|
|
| 94 |
###################################
|
| 95 |
######## Form: Step 3 ##########
|
| 96 |
###################################
|
|
|
|
| 97 |
st.markdown("##### Step 3: Provide Ground Truth Labels (_Optional_)")
|
| 98 |
glabels = st.text_input('If available, enter ground truth topic labels to evaluate results, otherwise leave blank (comma-separated):',input_glabels, max_chars=2000)
|
| 99 |
glabels = list(set([x.strip() for x in glabels.strip().split(',') if len(x.strip()) > 0]))
|
|
|
|
| 82 |
###################################
|
| 83 |
######## Form: Step 2 ##########
|
| 84 |
###################################
|
| 85 |
+
st.write('\n')
|
| 86 |
st.markdown("##### Step 2: Enter Labels")
|
| 87 |
labels = st.text_input('Enter possible topic labels, which can be either keywords and/or general themes (comma-separated):',input_labels, max_chars=2000)
|
| 88 |
labels = list(set([x.strip() for x in labels.strip().split(',') if len(x.strip()) > 0]))
|
|
|
|
| 95 |
###################################
|
| 96 |
######## Form: Step 3 ##########
|
| 97 |
###################################
|
| 98 |
+
st.write('\n')
|
| 99 |
st.markdown("##### Step 3: Provide Ground Truth Labels (_Optional_)")
|
| 100 |
glabels = st.text_input('If available, enter ground truth topic labels to evaluate results, otherwise leave blank (comma-separated):',input_glabels, max_chars=2000)
|
| 101 |
glabels = list(set([x.strip() for x in glabels.strip().split(',') if len(x.strip()) > 0]))
|