fix: trace summary df showing in dsapp (#551)

* fix trace summary df show

* fix ci
This commit is contained in:
XianBW
2025-02-05 10:48:25 +08:00
committed by GitHub
parent cade50de89
commit 6ce7f2c116
+6
View File
@@ -243,6 +243,12 @@ def summarize_data():
except Exception as e:
state.data[loop]["mle_score"] = str(e)
df.loc[loop, "Running Score"] = ""
else:
if isinstance(state.data[loop]["mle_score"], dict):
df.loc[loop, "Running Score"] = str(state.data[loop]["mle_score"]["score"])
else:
df.loc[loop, "Running Score"] = ""
else:
df.loc[loop, "Running Score"] = "N/A"