etweedy commited on
Commit
65c92e7
·
1 Parent(s): a11b5c0

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -27,8 +27,6 @@ def get_pipeline():
27
  The question answering pipeline object
28
  """
29
  repo_id = 'etweedy/roberta-base-squad-v2'
30
- model = AutoModelForQuestionAnswering.from_pretrained(repo_id)
31
- tokenizer = AutoTokenizer.from_pretrained(repo_id)
32
  qa_pipeline = pipeline(
33
  task = 'question-answering',
34
  model=repo_id,
 
27
  The question answering pipeline object
28
  """
29
  repo_id = 'etweedy/roberta-base-squad-v2'
 
 
30
  qa_pipeline = pipeline(
31
  task = 'question-answering',
32
  model=repo_id,