Spaces:
Running
Running
fifa19_streamlit
Browse files
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 |
-
|
176 |
-
|
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()
|