SarowarSaurav commited on
Commit
a15b6aa
·
verified ·
1 Parent(s): b319d6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def release_backend(index):
25
  backend_locks[index].release()
26
 
27
  # Define the function to answer questions
28
- pipe = pipeline("question-answering", model="google-bert/bert-large-uncased-whole-word-masking-finetuned-squad")
29
 
30
  # Define the function to answer questions
31
  def get_answer(text):
 
25
  backend_locks[index].release()
26
 
27
  # Define the function to answer questions
28
+ pipe = pipeline("question-answering", model="deepset/roberta-base-squad2")
29
 
30
  # Define the function to answer questions
31
  def get_answer(text):