Spaces:
Runtime error
Runtime error
Commit
·
3be7922
1
Parent(s):
f607ff5
un-bokeh
Browse files
charts.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import streamlit as st
|
2 |
-
from bokeh.plotting import figure
|
3 |
|
4 |
from dashboard_utils.bubbles import get_new_bubble_data
|
5 |
from dashboard_utils.main_metrics import get_main_metrics
|
@@ -10,16 +9,6 @@ def draw_current_progress():
|
|
10 |
st.markdown("<br>", unsafe_allow_html=True)
|
11 |
source = get_main_metrics()
|
12 |
|
13 |
-
# DEBUG
|
14 |
-
x = [1, 2, 3, 4, 5]
|
15 |
-
y = [6, 7, 2, 4, 5]
|
16 |
-
p = figure(
|
17 |
-
title='Training DALL-E with volunteers (updated regularly during NeurIPS)',
|
18 |
-
x_axis_label='x', y_axis_label='y', height=200)
|
19 |
-
p.line(x, y, legend_label='Trend', line_width=2)
|
20 |
-
st.bokeh_chart(p, use_container_width=True)
|
21 |
-
# /DEBUG
|
22 |
-
|
23 |
st.vega_lite_chart(
|
24 |
source, {
|
25 |
"height": 200,
|
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
from dashboard_utils.bubbles import get_new_bubble_data
|
4 |
from dashboard_utils.main_metrics import get_main_metrics
|
|
|
9 |
st.markdown("<br>", unsafe_allow_html=True)
|
10 |
source = get_main_metrics()
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
st.vega_lite_chart(
|
13 |
source, {
|
14 |
"height": 200,
|