Spaces:
Sleeping
Sleeping
Commit
•
417ce19
1
Parent(s):
a8a925b
Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,8 @@ if len(all_status) == 0:
|
|
66 |
for key in colors.keys():
|
67 |
if key not in all_status:
|
68 |
copy_df.append(dict(Task=task_name,
|
69 |
-
Start='2023-04-
|
70 |
-
Finish='2023-04-
|
71 |
Resource=key))
|
72 |
|
73 |
fig = ff.create_gantt(copy_df, colors=colors,
|
@@ -83,7 +83,7 @@ fig.update_xaxes(ticks= "outside",
|
|
83 |
tickcolor= "black",
|
84 |
ticklen=10,
|
85 |
range=[datetime.datetime(2022, 12, 30),
|
86 |
-
datetime.datetime(2023, 4,
|
87 |
minor=dict(
|
88 |
ticklen=4,
|
89 |
dtick=7*24*60*60*1000,
|
@@ -105,13 +105,33 @@ fig.add_annotation({
|
|
105 |
"showarrow": False,
|
106 |
})
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
# Add release line
|
109 |
-
fig.add_vline(x='2023-04-
|
110 |
fig.add_annotation({
|
111 |
-
"x": '2023-04-
|
112 |
"y": fig.layout.yaxis['range'][1],
|
113 |
"yshift": 10,
|
114 |
-
"text": "
|
115 |
"showarrow": False,
|
116 |
})
|
117 |
|
|
|
66 |
for key in colors.keys():
|
67 |
if key not in all_status:
|
68 |
copy_df.append(dict(Task=task_name,
|
69 |
+
Start='2023-04-09',
|
70 |
+
Finish='2023-04-09',
|
71 |
Resource=key))
|
72 |
|
73 |
fig = ff.create_gantt(copy_df, colors=colors,
|
|
|
83 |
tickcolor= "black",
|
84 |
ticklen=10,
|
85 |
range=[datetime.datetime(2022, 12, 30),
|
86 |
+
datetime.datetime(2023, 4, 16)],
|
87 |
minor=dict(
|
88 |
ticklen=4,
|
89 |
dtick=7*24*60*60*1000,
|
|
|
105 |
"showarrow": False,
|
106 |
})
|
107 |
|
108 |
+
# Add The Stack 1.2
|
109 |
+
fig.add_vline(x='2023-03-05', line_width=3, line_dash="dash", line_color="red")
|
110 |
+
fig.add_annotation({
|
111 |
+
"x": '2023-03-05',
|
112 |
+
"y": fig.layout.yaxis['range'][1],
|
113 |
+
"yshift": 10,
|
114 |
+
"text": "The Stack 1.2",
|
115 |
+
"showarrow": False,
|
116 |
+
})
|
117 |
+
|
118 |
+
# Add PII
|
119 |
+
fig.add_vline(x='2023-03-19', line_width=3, line_dash="dash", line_color="red")
|
120 |
+
fig.add_annotation({
|
121 |
+
"x": '2023-03-05',
|
122 |
+
"y": fig.layout.yaxis['range'][1],
|
123 |
+
"yshift": 10,
|
124 |
+
"text": "+ PII redacted",
|
125 |
+
"showarrow": False,
|
126 |
+
})
|
127 |
+
|
128 |
# Add release line
|
129 |
+
fig.add_vline(x='2023-04-09', line_width=3, line_dash="dash", line_color="red")
|
130 |
fig.add_annotation({
|
131 |
+
"x": '2023-04-09',
|
132 |
"y": fig.layout.yaxis['range'][1],
|
133 |
"yshift": 10,
|
134 |
+
"text": "Model release",
|
135 |
"showarrow": False,
|
136 |
})
|
137 |
|