Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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="google-bert/bert-large-cased-whole-word-masking-finetuned-squad")
|
29 |
|
30 |
# Define the function to answer questions
|
31 |
def get_answer(text):
|