alexpap commited on
Commit
90fbbbe
·
1 Parent(s): 5e5942a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -170,9 +170,9 @@ elif menu == "Evaluation":
170
  Feel free to query the pre-trained QA-NLU model using the buttons below.
171
  ''')
172
 
173
- tokenizer = AutoTokenizer.from_pretrained("AmazonScience/qanlu", use_auth_token=True)
174
 
175
- model = AutoModelForQuestionAnswering.from_pretrained("AmazonScience/qanlu", use_auth_token=True)
176
 
177
  qa_pipeline = pipeline('question-answering', model=model, tokenizer=tokenizer)
178
 
 
170
  Feel free to query the pre-trained QA-NLU model using the buttons below.
171
  ''')
172
 
173
+ tokenizer = AutoTokenizer.from_pretrained("AmazonScience/qanlu")#, use_auth_token=True)
174
 
175
+ model = AutoModelForQuestionAnswering.from_pretrained("AmazonScience/qanlu")#, use_auth_token=True)
176
 
177
  qa_pipeline = pipeline('question-answering', model=model, tokenizer=tokenizer)
178