Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -343,12 +343,20 @@ def main():
|
|
343 |
|
344 |
with col1:
|
345 |
st.subheader("Player Details")
|
346 |
-
st.
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
|
353 |
with col2:
|
354 |
# Display team logo
|
|
|
343 |
|
344 |
with col1:
|
345 |
st.subheader("Player Details")
|
346 |
+
st.markdown(f"""
|
347 |
+
<div style="margin-bottom: 20px;">
|
348 |
+
<div style="font-size: 1em; color: white; margin-bottom: 5px;">Age</div>
|
349 |
+
<div style="font-size: 2em; color: white; font-weight: bold;">{default_stats['age']}</div>
|
350 |
+
</div>
|
351 |
+
<div style="margin-bottom: 20px;">
|
352 |
+
<div style="font-size: 1em; color: white; margin-bottom: 5px;">Height (cm)</div>
|
353 |
+
<div style="font-size: 2em; color: white; font-weight: bold;">{default_stats['player_height'].round(2)}</div>
|
354 |
+
</div>
|
355 |
+
<div style="margin-bottom: 20px;">
|
356 |
+
<div style="font-size: 1em; color: white; margin-bottom: 5px;">Weight (kg)</div>
|
357 |
+
<div style="font-size: 2em; color: white; font-weight: bold;">{default_stats['player_weight'].round(2)}</div>
|
358 |
+
</div>
|
359 |
+
""", unsafe_allow_html=True)
|
360 |
|
361 |
with col2:
|
362 |
# Display team logo
|