m7mdal7aj commited on
Commit
26f093e
1 Parent(s): b0a5499

Update my_model/state_manager.py

Browse files
Files changed (1) hide show
  1. my_model/state_manager.py +3 -3
my_model/state_manager.py CHANGED
@@ -427,12 +427,12 @@ class StateManager:
427
  return self.col3.write(df)
428
 
429
 
430
- def display_session_state(self):
431
  """
432
  Displays a table of the complete application state..
433
  """
434
 
435
- st.write("Current Model:")
436
  data = [{'Key': key, 'Value': str(value)} for key, value in st.session_state.items()]
437
  df = pd.DataFrame(data).reset_index(drop=True)
438
- st.write(df)
 
427
  return self.col3.write(df)
428
 
429
 
430
+ def display_session_state(self, col):
431
  """
432
  Displays a table of the complete application state..
433
  """
434
 
435
+ col.write("Current Model:")
436
  data = [{'Key': key, 'Value': str(value)} for key, value in st.session_state.items()]
437
  df = pd.DataFrame(data).reset_index(drop=True)
438
+ col.write(df)