baadror commited on
Commit
989a054
·
1 Parent(s): 91d0fc4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ tokenizer = AutoTokenizer.from_pretrained("deepset/roberta-base-squad2")
6
 
7
  onnx_qa = pipeline("question-answering", model=model, tokenizer=tokenizer)
8
 
9
- question = "What's my name?"
10
  context = "My name is Philipp and I live in Nuremberg."
11
  def get_answer(question):
12
  pred = onnx_qa(question, context)
 
6
 
7
  onnx_qa = pipeline("question-answering", model=model, tokenizer=tokenizer)
8
 
9
+ question = "What's my name??"
10
  context = "My name is Philipp and I live in Nuremberg."
11
  def get_answer(question):
12
  pred = onnx_qa(question, context)