Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
•
9e05631
1
Parent(s):
9a0cc9c
Upload app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def fn(glycan, model):
|
|
82 |
demo = gr.Interface(
|
83 |
fn=fn,
|
84 |
inputs=[gr.Textbox(label="Glycan sequence"), gr.Radio(label="Model",choices=["No data augmentation", "Random node deletion", "Ensemble"])],
|
85 |
-
outputs=[gr.Image(label="Glycan graph"
|
86 |
allow_flagging=False,
|
87 |
title="SweetNet demo",
|
88 |
examples=[["GlcOSN(a1-4)GlcA(b1-4)GlcOSN(a1-4)GlcAOS(b1-4)GlcOSN(a1-4)GlcOSN", "No data augmentation"],
|
|
|
82 |
demo = gr.Interface(
|
83 |
fn=fn,
|
84 |
inputs=[gr.Textbox(label="Glycan sequence"), gr.Radio(label="Model",choices=["No data augmentation", "Random node deletion", "Ensemble"])],
|
85 |
+
outputs=[gr.Image(label="Glycan graph"), gr.Label(num_top_classes=15, label="Prediction")],
|
86 |
allow_flagging=False,
|
87 |
title="SweetNet demo",
|
88 |
examples=[["GlcOSN(a1-4)GlcA(b1-4)GlcOSN(a1-4)GlcAOS(b1-4)GlcOSN(a1-4)GlcOSN", "No data augmentation"],
|