dalexanderch commited on
Commit
4f0bf6f
1 Parent(s): 6506504

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"), 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"],
 
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", shape=(300,300)), 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"],