dalexanderch commited on
Commit
35143f5
1 Parent(s): 8e30dea

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def fn(glycan, model):
80
  pred = np.exp(pred)/sum(np.exp(pred)) # Softmax
81
  pred = [float(x) for x in pred]
82
  pred = {class_list[i]:pred[i] for i in range(15)}
83
- return pred, "graph.png"
84
 
85
 
86
  demo = gr.Interface(
 
80
  pred = np.exp(pred)/sum(np.exp(pred)) # Softmax
81
  pred = [float(x) for x in pred]
82
  pred = {class_list[i]:pred[i] for i in range(15)}
83
+ return "graph.png", pred
84
 
85
 
86
  demo = gr.Interface(