Spaces:
Runtime error
Runtime error
rajesh1729
commited on
Commit
路
7a3b961
1
Parent(s):
7b7f35b
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ context = "The Amazon rainforest (Portuguese: Floresta Amaz么nica or Amaz么nia;
|
|
5 |
question = "Which name is also used to describe the Amazon rainforest in English?"
|
6 |
|
7 |
|
8 |
-
question_answerer = pipeline("question-answering")
|
9 |
#result = question_answerer(question = question, context=context)
|
10 |
#return result['answer']
|
11 |
|
|
|
5 |
question = "Which name is also used to describe the Amazon rainforest in English?"
|
6 |
|
7 |
|
8 |
+
question_answerer = pipeline("question-answering", model='distilbert-base-cased-distilled-squad')
|
9 |
#result = question_answerer(question = question, context=context)
|
10 |
#return result['answer']
|
11 |
|