Spaces:
Runtime error
Runtime error
replace `alive participants` by `alive sessions`
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ wandb.login(anonymous="must")
|
|
89 |
|
90 |
|
91 |
steps, dates, losses, alive_peers = get_main_metrics()
|
92 |
-
source = pd.DataFrame({"steps": steps, "loss": losses, "alive
|
93 |
|
94 |
|
95 |
placeholder_chart_c1_1.vega_lite_chart(
|
@@ -112,7 +112,7 @@ placeholder_chart_c1_2.vega_lite_chart(
|
|
112 |
"mark": {"type": "line", "point": {"tooltip": True, "filled": False, "strokeOpacity": 0}},
|
113 |
"encoding": {
|
114 |
"x": {"field": "date", "type": "temporal"},
|
115 |
-
"y": {"field": "alive
|
116 |
},
|
117 |
"config": {"axisX": {"labelAngle": -40}},
|
118 |
},
|
|
|
89 |
|
90 |
|
91 |
steps, dates, losses, alive_peers = get_main_metrics()
|
92 |
+
source = pd.DataFrame({"steps": steps, "loss": losses, "alive sessions": alive_peers, "date": dates})
|
93 |
|
94 |
|
95 |
placeholder_chart_c1_1.vega_lite_chart(
|
|
|
112 |
"mark": {"type": "line", "point": {"tooltip": True, "filled": False, "strokeOpacity": 0}},
|
113 |
"encoding": {
|
114 |
"x": {"field": "date", "type": "temporal"},
|
115 |
+
"y": {"field": "alive sessions", "type": "quantitative"},
|
116 |
},
|
117 |
"config": {"axisX": {"labelAngle": -40}},
|
118 |
},
|