sbudni commited on
Commit
52ad77b
1 Parent(s): 39817cb

Updated fixed context

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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