Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,8 @@ from transformers import TapasTokenizer, TapasForQuestionAnswering
|
|
16 |
tf.get_logger().setLevel('ERROR')
|
17 |
|
18 |
#def install(package):
|
19 |
-
subprocess.
|
|
|
20 |
|
21 |
#install('torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html')
|
22 |
|
|
|
16 |
tf.get_logger().setLevel('ERROR')
|
17 |
|
18 |
#def install(package):
|
19 |
+
subprocess.run("python -m pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html", shell=True)
|
20 |
+
#subprocess.check_call([sys.executable, "-m", "pip", "install", 'torch-scatter','-f', 'https://data.pyg.org/whl/torch-1.10.0+cu102.html'])
|
21 |
|
22 |
#install('torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html')
|
23 |
|