muchad commited on
Commit
3ba8a8c
1 Parent(s): 4d14b25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ class QGPipeline:
41
  questions = self._generate_questions(qg_inputs)
42
  output = ''
43
  for example, que in zip(qg_examples, questions):
44
- output += 'A : ' + example['answer'] + ' \n' + 'Q : ' + que + ' \n\n'
45
  return output
46
 
47
  def _generate_questions(self, inputs):
 
41
  questions = self._generate_questions(qg_inputs)
42
  output = ''
43
  for example, que in zip(qg_examples, questions):
44
+ output += 'Q : ' + que + ' \n' + 'A : ' + example['answer'] + ' \n\n'
45
  return output
46
 
47
  def _generate_questions(self, inputs):