Spaces:
Build error
Build error
Commit
·
1e18cca
1
Parent(s):
78f11a0
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import allennlp_models # noqa: F401
|
|
5 |
from allennlp.predictors.predictor import Predictor
|
6 |
|
7 |
# The integration with AllenNLP uses a hf prefix.
|
8 |
-
predictor = Predictor.from_path("hf://lysandre/bidaf-elmo-model-2020.03.19)
|
9 |
|
10 |
def predict(context, question):
|
11 |
allenlp_input = {"passage": context, "question": question}
|
|
|
5 |
from allennlp.predictors.predictor import Predictor
|
6 |
|
7 |
# The integration with AllenNLP uses a hf prefix.
|
8 |
+
predictor = Predictor.from_path("hf://lysandre/bidaf-elmo-model-2020.03.19")
|
9 |
|
10 |
def predict(context, question):
|
11 |
allenlp_input = {"passage": context, "question": question}
|