DeepVen commited on
Commit
8aedffa
1 Parent(s): 77470a3

Upload streamapp.py

Browse files
Files changed (1) hide show
  1. streamapp.py +6 -5
streamapp.py CHANGED
@@ -270,11 +270,12 @@ with tab3:
270
 
271
 
272
  with st.form(" trace"):
273
-
274
- df0 = px.active_session().get_spans_dataframe()
275
- if not df0.empty:
276
- df= df0.fillna('')
277
- st.dataframe(df)
 
278
 
279
 
280
 
 
270
 
271
 
272
  with st.form(" trace"):
273
+
274
+ if px.active_session():
275
+ df0 = px.active_session().get_spans_dataframe()
276
+ if not df0.empty:
277
+ df= df0.fillna('')
278
+ st.dataframe(df)
279
 
280
 
281