Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from langchain_core.output_parsers import StrOutputParser
|
|
| 10 |
|
| 11 |
st.set_page_config(page_title="🏏 Ultimate Cricket Analytics", layout="wide")
|
| 12 |
# Define the URL of the background image (use your own image URL)
|
| 13 |
-
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/
|
| 14 |
|
| 15 |
st.markdown(
|
| 16 |
f"""
|
|
@@ -283,6 +283,6 @@ elif option == "Player Comparison" and player1 and player2:
|
|
| 283 |
bat_melted = bat_combined.melt(id_vars='Player', var_name='Stat', value_name='Value')
|
| 284 |
fig_bat_bar = px.bar(bat_melted, x='Player', y='Value', color='Stat', barmode='group')
|
| 285 |
st.plotly_chart(fig_bat_bar)
|
| 286 |
-
|
| 287 |
if st.button("Show Raw Stats"):
|
| 288 |
st.dataframe(pd.concat([bat1, bowl1, bat2, bowl2]))
|
|
|
|
| 10 |
|
| 11 |
st.set_page_config(page_title="🏏 Ultimate Cricket Analytics", layout="wide")
|
| 12 |
# Define the URL of the background image (use your own image URL)
|
| 13 |
+
background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/w_u9UonXEqvxH2FMAOCd7.jpeg"
|
| 14 |
|
| 15 |
st.markdown(
|
| 16 |
f"""
|
|
|
|
| 283 |
bat_melted = bat_combined.melt(id_vars='Player', var_name='Stat', value_name='Value')
|
| 284 |
fig_bat_bar = px.bar(bat_melted, x='Player', y='Value', color='Stat', barmode='group')
|
| 285 |
st.plotly_chart(fig_bat_bar)
|
| 286 |
+
|
| 287 |
if st.button("Show Raw Stats"):
|
| 288 |
st.dataframe(pd.concat([bat1, bowl1, bat2, bowl2]))
|