Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ qa3 = pipeline("question-answering", model="MarcBrun/ixambert-finetuned-squad-eu
|
|
| 13 |
def answer_question(question, context, pipe):
|
| 14 |
|
| 15 |
if pipe == "qa1":
|
| 16 |
-
answer =
|
| 17 |
elif pipe == "qa2":
|
| 18 |
answer = qa2(question=question, context=context)
|
| 19 |
else:
|
|
|
|
| 13 |
def answer_question(question, context, pipe):
|
| 14 |
|
| 15 |
if pipe == "qa1":
|
| 16 |
+
answer = qa1(question=question, context=context)
|
| 17 |
elif pipe == "qa2":
|
| 18 |
answer = qa2(question=question, context=context)
|
| 19 |
else:
|