Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
|
4 |
# Use a pipeline as a high-level helper
|
5 |
|
6 |
-
pipe = pipeline("question-answering", model=
|
7 |
|
8 |
# Define the function to answer questions
|
9 |
def get_answer(text):
|
|
|
3 |
|
4 |
# Use a pipeline as a high-level helper
|
5 |
|
6 |
+
pipe = pipeline("question-answering", model='distilbert-base-uncased-distilled-squad')
|
7 |
|
8 |
# Define the function to answer questions
|
9 |
def get_answer(text):
|