Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,51 +13,47 @@ from tokenizers import Tokenizer, AddedToken
|
|
13 |
from st_click_detector import click_detector
|
14 |
|
15 |
|
16 |
-
|
17 |
st.graphviz_chart('''
|
18 |
-
digraph G {
|
19 |
fontname="Helvetica,Arial,sans-serif"
|
20 |
node [fontname="Helvetica,Arial,sans-serif"]
|
21 |
edge [fontname="Helvetica,Arial,sans-serif"]
|
22 |
-
subgraph cluster_0 {
|
23 |
-
style=filled;
|
24 |
-
color=lightgrey;
|
25 |
-
fillcolor="darkgray:gold";
|
26 |
-
gradientangle=0
|
27 |
-
node [fillcolor="yellow:green" style=filled gradientangle=270] a0;
|
28 |
-
node [fillcolor="lightgreen:red"] a1;
|
29 |
-
node [fillcolor="lightskyblue:darkcyan"] a2;
|
30 |
-
node [fillcolor="cyan:lightslateblue"] a3;
|
31 |
-
a0 -> a1 -> a2 -> a3;
|
32 |
-
label = "process #1";
|
33 |
-
}
|
34 |
subgraph cluster_1 {
|
35 |
-
node [fillcolor="
|
36 |
-
|
37 |
-
node [fillcolor="
|
38 |
-
node [fillcolor="
|
39 |
-
node [fillcolor="
|
40 |
-
|
41 |
-
label = "
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
-
|
48 |
-
start -> b0;
|
49 |
-
a1 -> b3;
|
50 |
-
b2 -> a3;
|
51 |
-
a3 -> a0;
|
52 |
-
a3 -> end;
|
53 |
-
b3 -> end;
|
54 |
-
start [shape=Mdiamond ,
|
55 |
-
fillcolor="pink:red",
|
56 |
-
gradientangle=90,
|
57 |
-
style=radial];
|
58 |
-
end [shape=Msquare,
|
59 |
-
fillcolor="lightyellow:orange",
|
60 |
-
style=radial,
|
61 |
-
gradientangle=90];
|
62 |
}
|
63 |
''')
|
|
|
13 |
from st_click_detector import click_detector
|
14 |
|
15 |
|
|
|
16 |
st.graphviz_chart('''
|
17 |
+
digraph G {
|
18 |
fontname="Helvetica,Arial,sans-serif"
|
19 |
node [fontname="Helvetica,Arial,sans-serif"]
|
20 |
edge [fontname="Helvetica,Arial,sans-serif"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
subgraph cluster_1 {
|
22 |
+
node [ style=filled,shape="box",fillcolor="antiquewhite:aquamarine" ]n5;
|
23 |
+
node [ shape="ellipse",fillcolor="bisque4:blue2" ]n4;
|
24 |
+
node [ shape="circle",fillcolor="cadetblue1:chocolate1" ]n3;
|
25 |
+
node [ shape="diamond",fillcolor="crimson:cyan4" ]n2;
|
26 |
+
node [ shape="triangle",fillcolor="deepskyblue2:firebrick" ]n1;
|
27 |
+
node [ shape="pentagon",fillcolor="gray24:gray88" ]n0;
|
28 |
+
label = "X11 Colors";
|
29 |
+
}
|
30 |
+
subgraph cluster_2 {
|
31 |
+
node [ style=filled,shape="box",fillcolor="bisque:brown" ]n11;
|
32 |
+
node [ shape="ellipse",fillcolor="green:darkorchid" ]n10;
|
33 |
+
node [ shape="circle",fillcolor="deepskyblue:gold" ]n9;
|
34 |
+
node [ shape="diamond",fillcolor="lightseagreen:orangered" ]n8;
|
35 |
+
node [ shape="triangle",fillcolor="turquoise:salmon" ]n7;
|
36 |
+
node [ shape="pentagon",fillcolor="snow:black" ]n6;
|
37 |
+
label = "SVG Colors";
|
38 |
+
}
|
39 |
+
subgraph cluster_3 {
|
40 |
+
node [ style=filled,shape="box",fillcolor="/accent3/1:/accent3/3" ]n17;
|
41 |
+
node [ shape="ellipse",fillcolor="/accent4/1:/accent4/4" ]n16;
|
42 |
+
node [ shape="circle",fillcolor="/accent5/1:/accent5/5" ]n15;
|
43 |
+
node [ shape="diamond",fillcolor="/accent6/1:/accent6/6" ]n14;
|
44 |
+
node [ shape="triangle",fillcolor="/accent7/1:/accent7/7" ]n13;
|
45 |
+
node [ shape="pentagon",fillcolor="/accent8/1:/accent8/8" ]n12;
|
46 |
+
label = "Brewer - accent";
|
47 |
+
}
|
48 |
+
subgraph cluster_4 {
|
49 |
+
node [ style=filled,shape="box",fillcolor="/blues3/1:/blues3/2" ]n23;
|
50 |
+
node [ shape="ellipse",fillcolor="/blues4/1:/blues4/3" ]n22;
|
51 |
+
node [ shape="circle",fillcolor="/blues5/1:/blues5/4" ]n21;
|
52 |
+
node [ shape="diamond",fillcolor="/blues6/1:/blues6/5" ]n20;
|
53 |
+
node [ shape="triangle",fillcolor="/blues7/1:/blues7/6" ]n19;
|
54 |
+
node [ shape="pentagon",fillcolor="/blues8/1:/blues8/7" ]n18;
|
55 |
+
label = "Brewer - blues";
|
56 |
}
|
57 |
+
n3 -> n9 -> n15 -> n21;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
''')
|