Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ if st.button('Generate Question'):
|
|
157 |
questions = qg(context_in)
|
158 |
re = ""
|
159 |
for i, q in enumerate(questions):
|
160 |
-
re += (str(i+1) + "\tAnswer: %s".expandtabs(1) % q['answer'] + " \n" + "\tQuestion: %s".expandtabs(2) % q['question'] + " \n")
|
161 |
st.write(re)
|
162 |
else:
|
163 |
st.write("Please check your context")
|
|
|
157 |
questions = qg(context_in)
|
158 |
re = ""
|
159 |
for i, q in enumerate(questions):
|
160 |
+
re += (str(i+1) + "\tAnswer: %s".expandtabs(1) % q['answer'] + " \n" + "\tQuestion: %s".expandtabs(2) % q['question'] + " \n\n")
|
161 |
st.write(re)
|
162 |
else:
|
163 |
st.write("Please check your context")
|