Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
·
8e30dea
1
Parent(s):
6eb2572
Upload app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def fn(glycan, model):
|
|
86 |
demo = gr.Interface(
|
87 |
fn=fn,
|
88 |
inputs=[gr.Textbox(label="Glycan sequence"), gr.Radio(label="Model",choices=["No data augmentation", "Random node deletion", "Ensemble"])],
|
89 |
-
outputs=[gr.
|
90 |
allow_flagging="never",
|
91 |
title="SweetNet demo",
|
92 |
examples=[["GlcOSN(a1-4)GlcA(b1-4)GlcOSN(a1-4)GlcAOS(b1-4)GlcOSN(a1-4)GlcOSN", "No data augmentation"],
|
|
|
86 |
demo = gr.Interface(
|
87 |
fn=fn,
|
88 |
inputs=[gr.Textbox(label="Glycan sequence"), gr.Radio(label="Model",choices=["No data augmentation", "Random node deletion", "Ensemble"])],
|
89 |
+
outputs=[gr.Image(label="Glycan graph"), gr.Label(num_top_classes=15, label="Prediction")],
|
90 |
allow_flagging="never",
|
91 |
title="SweetNet demo",
|
92 |
examples=[["GlcOSN(a1-4)GlcA(b1-4)GlcOSN(a1-4)GlcAOS(b1-4)GlcOSN(a1-4)GlcOSN", "No data augmentation"],
|