Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
•
633bc62
1
Parent(s):
c9a5acb
Upload app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import os
|
2 |
os.system("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu")
|
3 |
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")
|
4 |
-
os.sysem("pip install pygraphviz")
|
5 |
import gradio as gr
|
6 |
from glycowork.ml.processing import dataset_to_dataloader
|
7 |
import numpy as np
|
@@ -11,7 +10,7 @@ from glycowork.motif.graph import glycan_to_nxGraph
|
|
11 |
import networkx as nx
|
12 |
import matplotlib.pyplot as plt
|
13 |
from networkx.drawing.nx_agraph import write_dot
|
14 |
-
import pygraphviz as pgv
|
15 |
|
16 |
|
17 |
class EnsembleModel(nn.Module):
|
|
|
1 |
import os
|
2 |
os.system("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu")
|
3 |
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")
|
|
|
4 |
import gradio as gr
|
5 |
from glycowork.ml.processing import dataset_to_dataloader
|
6 |
import numpy as np
|
|
|
10 |
import networkx as nx
|
11 |
import matplotlib.pyplot as plt
|
12 |
from networkx.drawing.nx_agraph import write_dot
|
13 |
+
# import pygraphviz as pgv
|
14 |
|
15 |
|
16 |
class EnsembleModel(nn.Module):
|