Jahanzeb1 commited on
Commit
2c4377f
·
verified ·
1 Parent(s): 8d4e6f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
 
3
  # Create a question answering pipeline
4
- qa_pipeline = pipeline("question-answering", model='Jahanzeb1/BERT_QA_model', tokenizer=tokenizer)
5
 
6
  # Now you can use the pipeline to answer questions
7
  question = "How did he die?"
 
1
  from transformers import pipeline
2
 
3
  # Create a question answering pipeline
4
+ qa_pipeline = pipeline("question-answering", model='Jahanzeb1/BERT_QA_model', tokenizer='Jahanzeb1/BERT_QA_model')
5
 
6
  # Now you can use the pipeline to answer questions
7
  question = "How did he die?"