Spaces:
Sleeping
Sleeping
Commit
·
8f2b5f9
1
Parent(s):
98bed71
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,6 @@ inference_repo = g.get_repo("bigcode-project/bigcode-inference-benchmark")
|
|
12 |
|
13 |
for milestone in inference_repo.get_milestones():
|
14 |
s = "###" + milestone.title + "\n"
|
15 |
-
st.markdown(s)
|
16 |
|
17 |
df = [dict(Task="Job-1", Start='2017-01-01', Finish='2017-02-02', Resource='Complete'),
|
18 |
dict(Task="Job-1", Start='2017-02-15', Finish='2017-03-15', Resource='Incomplete'),
|
@@ -28,5 +27,5 @@ colors = {'Not Started': 'rgb(220, 0, 0)',
|
|
28 |
'Complete': 'rgb(0, 255, 100)'}
|
29 |
|
30 |
fig = ff.create_gantt(df, colors=colors, index_col='Resource', show_colorbar=True)
|
31 |
-
|
32 |
|
|
|
12 |
|
13 |
for milestone in inference_repo.get_milestones():
|
14 |
s = "###" + milestone.title + "\n"
|
|
|
15 |
|
16 |
df = [dict(Task="Job-1", Start='2017-01-01', Finish='2017-02-02', Resource='Complete'),
|
17 |
dict(Task="Job-1", Start='2017-02-15', Finish='2017-03-15', Resource='Incomplete'),
|
|
|
27 |
'Complete': 'rgb(0, 255, 100)'}
|
28 |
|
29 |
fig = ff.create_gantt(df, colors=colors, index_col='Resource', show_colorbar=True)
|
30 |
+
st.plotly_chart(fig)
|
31 |
|