hitz02 commited on
Commit
f27c7ea
·
1 Parent(s): 5a03966

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,10 +15,10 @@ from transformers import TapasTokenizer, TapasForQuestionAnswering
15
 
16
  tf.get_logger().setLevel('ERROR')
17
 
18
- def install(package):
19
- subprocess.check_call([sys.executable, "-m", "pip", "install", package])
20
 
21
- install('torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html')
22
 
23
  model_name = 'google/tapas-base-finetuned-wtq'
24
  #model_name = "table-question-answering"
 
15
 
16
  tf.get_logger().setLevel('ERROR')
17
 
18
+ #def install(package):
19
+ subprocess.call([sys.executable, "-m", "pip", "install", 'torch-scatter','-f', 'https://data.pyg.org/whl/torch-1.10.0+cu102.html'])
20
 
21
+ #install('torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html')
22
 
23
  model_name = 'google/tapas-base-finetuned-wtq'
24
  #model_name = "table-question-answering"