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

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", 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"],
 
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=(128,128)), 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"],