Upload streamapp.py
Browse files- streamapp.py +6 -5
streamapp.py
CHANGED
@@ -270,11 +270,12 @@ with tab3:
|
|
270 |
|
271 |
|
272 |
with st.form(" trace"):
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
|
|
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 |
|