Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
•
5e62770
1
Parent(s):
046e052
Upload app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ import torch
|
|
5 |
import os
|
6 |
|
7 |
os.system("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu")
|
|
|
|
|
8 |
def fn(model, class_list):
|
9 |
def f(glycan):
|
10 |
glycan = [glycan]
|
|
|
5 |
import os
|
6 |
|
7 |
os.system("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu")
|
8 |
+
os.system("pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-1.12.0+cpu.html")
|
9 |
+
|
10 |
def fn(model, class_list):
|
11 |
def f(glycan):
|
12 |
glycan = [glycan]
|