namdini commited on
Commit
059c89b
·
verified ·
1 Parent(s): 76db3a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -58,7 +58,6 @@ def load_and_preprocess_data(file_path):
58
 
59
  return df
60
 
61
- @st.cache_data
62
  def create_severity_violation_chart(df, age_group=None):
63
  # Apply age group filter if selected
64
  if age_group != 'All Ages':
@@ -518,7 +517,7 @@ def main():
518
  age_groups = ['All Ages', '16-25', '26-35', '36-45', '46-55', '56-65', '65+']
519
  selected_age = st.selectbox('Select Age Group:', age_groups)
520
 
521
- chart_col, desc_col = st.columns([7, 4])
522
 
523
  with chart_col:
524
  # Create and display chart
 
58
 
59
  return df
60
 
 
61
  def create_severity_violation_chart(df, age_group=None):
62
  # Apply age group filter if selected
63
  if age_group != 'All Ages':
 
517
  age_groups = ['All Ages', '16-25', '26-35', '36-45', '46-55', '56-65', '65+']
518
  selected_age = st.selectbox('Select Age Group:', age_groups)
519
 
520
+ chart_col, desc_col = st.columns([8, 2])
521
 
522
  with chart_col:
523
  # Create and display chart