vinayakdev commited on
Commit
fa7ee8f
1 Parent(s): e51bc2f

remove append

Browse files
Files changed (1) hide show
  1. generator.py +2 -2
generator.py CHANGED
@@ -118,8 +118,8 @@ def creator(context):
118
  questions = create_string_for_generator(context)
119
  pairs = []
120
  for ques in questions:
121
- if ques[-1] != '?':
122
- ques.append('?')
123
  pair = QA(ques,context)
124
  pairs.append(pair)
125
  return pairs
 
118
  questions = create_string_for_generator(context)
119
  pairs = []
120
  for ques in questions:
121
+ # if ques[-1] != '?':
122
+ # ques = ques + '?'
123
  pair = QA(ques,context)
124
  pairs.append(pair)
125
  return pairs