Spaces:
Runtime error
Runtime error
Commit
·
e8018b1
1
Parent(s):
e2b405a
Update app.py
Browse files
app.py
CHANGED
@@ -105,8 +105,13 @@ demo = gr.Interface(
|
|
105 |
outputs=[gr.Label(num_top_classes=15, label="Prediction"), gr.Image(label="Glycan graph")],
|
106 |
allow_flagging="never",
|
107 |
title="SweetNet demo",
|
108 |
-
examples=[
|
109 |
-
["
|
110 |
-
["
|
|
|
|
|
|
|
|
|
|
|
111 |
)
|
112 |
demo.launch(debug=True)
|
|
|
105 |
outputs=[gr.Label(num_top_classes=15, label="Prediction"), gr.Image(label="Glycan graph")],
|
106 |
allow_flagging="never",
|
107 |
title="SweetNet demo",
|
108 |
+
examples=[
|
109 |
+
["Hex(z1-z)[GlcA(z1-z)]Hex(z1-z)Hex(z1-z)Hex", "Random node deletion"],
|
110 |
+
["Man(a1-2)Man(a1-3)[Man(a1-2)Man(a1-6)[Man(a1-3)]Man(a1-6)]Man(b1-3)GlcNAc", "No data augmentation"],
|
111 |
+
["Man(a1-2)Man(a1-2)Man(a1-3)[Glc(z1-z)Gal(a1-2)Man(a1-6)]Man(b1-4)GlcNAc(b1-4)GlcNAc", "Simple Ensemble"],
|
112 |
+
["L-GulA(a1-4)ManA(b1-4)Man(b1-4)L-GulA(a1-4)L-GulA(a1-4)ManA", "Bootstrap Ensemble"],
|
113 |
+
["GlcNAc(b1-4)GlcNAc(b1-4)GlcNAc(b1-4)GlcNAc", "Random edge deletion"],
|
114 |
+
["Gal(b1-4)GlcNAc(b1-4)GlcNAc(b1-4)GlcNAc(b1-4)GlcNAc(b1-4)GlcNAc", "Adjusted class weights"],
|
115 |
+
]
|
116 |
)
|
117 |
demo.launch(debug=True)
|