Updated fixed context
Browse files
app.py
CHANGED
@@ -48,7 +48,15 @@ He goes to Vidyani ketan school. He goes to school from 8 am to 3:30 pm.
|
|
48 |
Ishaan has many friends.
|
49 |
Vineet is his brother. """
|
50 |
|
51 |
-
def get_answer(fixed_context,question):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
QA_input = {
|
53 |
'question': question,
|
54 |
'context': fixed_context
|
|
|
48 |
Ishaan has many friends.
|
49 |
Vineet is his brother. """
|
50 |
|
51 |
+
# def get_answer(fixed_context,question):
|
52 |
+
# QA_input = {
|
53 |
+
# 'question': question,
|
54 |
+
# 'context': fixed_context
|
55 |
+
# }
|
56 |
+
# res = nlp(QA_input)
|
57 |
+
# return res['answer']
|
58 |
+
|
59 |
+
def get_answer(question):
|
60 |
QA_input = {
|
61 |
'question': question,
|
62 |
'context': fixed_context
|