James McCool commited on
Commit
e79a7d9
·
1 Parent(s): c74ec2d

Update variable reference in app.py for improved clarity

Browse files

- Replaced the session state reference for actual_dict with a direct variable reference, enhancing code readability and consistency.
- This change aligns with previous refactoring efforts to streamline variable usage throughout the application.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ with tab2:
120
  working_df = working_df[working_df['BaseName'].isin(entry_names)]
121
 
122
  # Calculate metrics based on game type
123
- st.write(st.session_state['actual_dict'])
124
  if type_var == 'Classic':
125
  working_df['stack'] = working_df.apply(
126
  lambda row: Counter(
 
120
  working_df = working_df[working_df['BaseName'].isin(entry_names)]
121
 
122
  # Calculate metrics based on game type
123
+ st.write(actual_dict)
124
  if type_var == 'Classic':
125
  working_df['stack'] = working_df.apply(
126
  lambda row: Counter(