muchad commited on
Commit
af2c1b5
·
1 Parent(s): 94711d8

Update app.py

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