Paula Leonova
commited on
Commit
•
1103ce7
1
Parent(s):
abaf1c5
Fix input text
Browse files
app.py
CHANGED
@@ -44,6 +44,9 @@ with st.form(key='my_form'):
|
|
44 |
('Yes', 'No')
|
45 |
)
|
46 |
|
|
|
|
|
|
|
47 |
labels = st.text_input('Enter possible topic labels, which can be either keywords and/or general themes (comma-separated):',input_labels, max_chars=1000)
|
48 |
labels = list(set([x.strip() for x in labels.strip().split(',') if len(x.strip()) > 0]))
|
49 |
|
|
|
44 |
('Yes', 'No')
|
45 |
)
|
46 |
|
47 |
+
if text_input == display_text and display_text != '':
|
48 |
+
text_input = example_text
|
49 |
+
|
50 |
labels = st.text_input('Enter possible topic labels, which can be either keywords and/or general themes (comma-separated):',input_labels, max_chars=1000)
|
51 |
labels = list(set([x.strip() for x in labels.strip().split(',') if len(x.strip()) > 0]))
|
52 |
|