Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
•
35143f5
1
Parent(s):
8e30dea
Upload app.py
Browse files
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
|
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(
|