Spaces:
Runtime error
Runtime error
Commit
·
f1ed684
1
Parent(s):
f8909bf
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,11 +7,6 @@ import torch
|
|
| 7 |
|
| 8 |
import subprocess
|
| 9 |
|
| 10 |
-
## dirty hack since torch_geometric depends on torch being installed already, so we can't install both via requirements
|
| 11 |
-
try:
|
| 12 |
-
import torch_geometric
|
| 13 |
-
except ImportError:
|
| 14 |
-
subprocess.call(['pip', 'install', 'torch-scatter', 'torch-sparse', 'torch-cluster', 'torch-spline-conv', 'torch-geometric', '-f', 'https://data.pyg.org/whl/torch-1.12.0+cu113.html'])
|
| 15 |
|
| 16 |
import time
|
| 17 |
from argparse import ArgumentParser, Namespace, FileType
|
|
|
|
| 7 |
|
| 8 |
import subprocess
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
import time
|
| 12 |
from argparse import ArgumentParser, Namespace, FileType
|