Update app.py
Browse files
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 += '
|
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):
|