BhanuPrakashSamoju commited on
Commit
4f1559b
1 Parent(s): 3bfcf9b

Update streamapp.py

Browse files
Files changed (1) hide show
  1. streamapp.py +1 -3
streamapp.py CHANGED
@@ -220,9 +220,7 @@ def click_button(response):
220
  # print("set state to True")
221
  # st.session_state.clicked = True
222
 
223
- df = px.active_session().get_spans_dataframe()
224
- print(px.active_session())
225
- print(px.active_session().get_spans_dataframe())
226
  print(df.count())
227
  df_sorted = df.sort_values(by='end_time',ascending=False)
228
 
 
220
  # print("set state to True")
221
  # st.session_state.clicked = True
222
 
223
+ df = st.session_state['trace_df']
 
 
224
  print(df.count())
225
  df_sorted = df.sort_values(by='end_time',ascending=False)
226