skanderovitch commited on
Commit
c16c5c3
·
verified ·
1 Parent(s): 86a62ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -174,14 +174,14 @@ ps = []
174
  pss = dict()
175
  for party,pledges in data.loc[themes,parties].items():
176
  # st.subheader()
177
- pss['f'{party} pledges :'] = []
178
 
179
  m = f'{party} pledges :'
180
  for theme, t in pledges.items():
181
  if not t.startswith('No specific'):
182
  m += f'<br> - {theme}: {t}'
183
  # st.write(f' - {theme}: {t}')
184
- pss['f'{party} pledges :'].append(f' - {theme}: {t}')
185
  ps.append(m)
186
  projection['manifesto'] = ps
187
 
 
174
  pss = dict()
175
  for party,pledges in data.loc[themes,parties].items():
176
  # st.subheader()
177
+ pss[f'{party} pledges :'] = []
178
 
179
  m = f'{party} pledges :'
180
  for theme, t in pledges.items():
181
  if not t.startswith('No specific'):
182
  m += f'<br> - {theme}: {t}'
183
  # st.write(f' - {theme}: {t}')
184
+ pss[f'{party} pledges :'].append(f' - {theme}: {t}')
185
  ps.append(m)
186
  projection['manifesto'] = ps
187