dcrey7 commited on
Commit
f42feaa
·
1 Parent(s): 286093e

fifa19_streamlit

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -169,13 +169,13 @@ def main():
169
  st.subheader(f"Recommended Players for {team_chosen} - {postion_chosen}")
170
 
171
  # Create a container for recommendations
172
- for player in recommendations:
173
  with st.container():
174
  st.markdown(f"""
175
- ### {player['player_name']}
176
- **Estimated Value:** €{player['starting_bid']:,.2f}
177
- ---
178
- """)
179
 
180
  if __name__ == '__main__':
181
  main()
 
169
  st.subheader(f"Recommended Players for {team_chosen} - {postion_chosen}")
170
 
171
  # Create a container for recommendations
172
+ for idx, player in enumerate(recommendations, 1):
173
  with st.container():
174
  st.markdown(f"""
175
+ #### Recommendation #{idx}: {player['player_name']}
176
+ <span style='font-size: 14px;'>**Estimated Value:** €{player['starting_bid']:,.0f}</span>
177
+ <hr style='margin: 5px 0px;'>
178
+ """, unsafe_allow_html=True)
179
 
180
  if __name__ == '__main__':
181
  main()