Spaces:
Sleeping
Sleeping
harmdevries
commited on
Commit
·
363d1a5
1
Parent(s):
9195ec4
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import datetime
|
|
5 |
import plotly.figure_factory as ff
|
6 |
import pandas as pd
|
7 |
import math
|
|
|
8 |
|
9 |
st.set_page_config(layout="wide")
|
10 |
name2repo = [("Inference", "bigcode-project/bigcode-inference-benchmark")]
|
@@ -66,5 +67,11 @@ fig.add_annotation({
|
|
66 |
"showarrow": False,
|
67 |
})
|
68 |
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
st.plotly_chart(fig, use_container_width=True)
|
|
|
5 |
import plotly.figure_factory as ff
|
6 |
import pandas as pd
|
7 |
import math
|
8 |
+
import copy
|
9 |
|
10 |
st.set_page_config(layout="wide")
|
11 |
name2repo = [("Inference", "bigcode-project/bigcode-inference-benchmark")]
|
|
|
67 |
"showarrow": False,
|
68 |
})
|
69 |
|
70 |
+
|
71 |
+
tmp = copy.deepcopy(fig.data[0])
|
72 |
+
tmp[0]["fillcolor"] = 'rgb(147, 196, 125)'
|
73 |
+
tmp[0]["legendgroup"] = 'rgb(147, 196, 125)'
|
74 |
+
tmp[0]['name'] = 'in progress'
|
75 |
+
|
76 |
+
fig.data.append(tmp)
|
77 |
st.plotly_chart(fig, use_container_width=True)
|