Spaces:
Sleeping
Sleeping
Commit
·
6764300
1
Parent(s):
8f2b5f9
Update app.py
Browse files
app.py
CHANGED
@@ -9,18 +9,10 @@ import plotly.figure_factory as ff
|
|
9 |
g = Github(os.environ.get('github'))
|
10 |
|
11 |
inference_repo = g.get_repo("bigcode-project/bigcode-inference-benchmark")
|
|
|
12 |
|
13 |
for milestone in inference_repo.get_milestones():
|
14 |
-
|
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'),
|
18 |
-
dict(Task="Job-2", Start='2017-01-17', Finish='2017-02-17', Resource='Not Started'),
|
19 |
-
dict(Task="Job-2", Start='2017-01-17', Finish='2017-02-17', Resource='Complete'),
|
20 |
-
dict(Task="Job-3", Start='2017-03-10', Finish='2017-03-20', Resource='Not Started'),
|
21 |
-
dict(Task="Job-3", Start='2017-04-01', Finish='2017-04-20', Resource='Not Started'),
|
22 |
-
dict(Task="Job-3", Start='2017-05-18', Finish='2017-06-18', Resource='Not Started'),
|
23 |
-
dict(Task="Job-4", Start='2017-01-14', Finish='2017-03-14', Resource='Complete')]
|
24 |
|
25 |
colors = {'Not Started': 'rgb(220, 0, 0)',
|
26 |
'Incomplete': (1, 0.9, 0.16),
|
|
|
9 |
g = Github(os.environ.get('github'))
|
10 |
|
11 |
inference_repo = g.get_repo("bigcode-project/bigcode-inference-benchmark")
|
12 |
+
df = list()
|
13 |
|
14 |
for milestone in inference_repo.get_milestones():
|
15 |
+
df.append(dict(Task=milestone.title, Start=milestone.due_date, Finish="2023-03-01", Resource="Not Started"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
colors = {'Not Started': 'rgb(220, 0, 0)',
|
18 |
'Incomplete': (1, 0.9, 0.16),
|