Spaces:
Sleeping
Sleeping
skanderovitch
commited on
Commit
•
5c64186
1
Parent(s):
81272dc
Update app.py
Browse files
app.py
CHANGED
@@ -145,12 +145,12 @@ st.title("Do you know your political parties?")
|
|
145 |
parties = st.multiselect(
|
146 |
"Which parties do you want to compare?",
|
147 |
list(data.columns),
|
148 |
-
list(np.random.choice(data.columns,
|
149 |
|
150 |
themes = st.multiselect(
|
151 |
"Which themes matter to you?",
|
152 |
list(data.index),
|
153 |
-
list(np.random.choice(data.index,
|
154 |
|
155 |
|
156 |
|
|
|
145 |
parties = st.multiselect(
|
146 |
"Which parties do you want to compare?",
|
147 |
list(data.columns),
|
148 |
+
list(np.random.choice(data.columns,4,replace=False)))
|
149 |
|
150 |
themes = st.multiselect(
|
151 |
"Which themes matter to you?",
|
152 |
list(data.index),
|
153 |
+
list(np.random.choice(data.index,4,replace=False)))
|
154 |
|
155 |
|
156 |
|