BilalSardar commited on
Commit
a86c046
1 Parent(s): a2f0fa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -272,12 +272,12 @@ def generate_question(context1,radiobutton):
272
  print(distractors)
273
 
274
  # output= output + ques + "\n" + "Ans: "+answer.capitalize() + "\n\n"
275
- output ="\n"+ output + "<b style='color:blue;'>" + ques + "</b>"
276
  # output = output + "<br>"
277
- output ="\n"+ output + "<b style='color:green;'>" + "Ans: " +answer.capitalize()+ "</b>"
278
  if len(distractors)>0:
279
  for distractor in distractors[:4]:
280
- output = output + " <b style='color:brown;'>" + distractor+ "</b>\n"
281
  output = output + "<br>"
282
 
283
  # summary ="Summary: "+ summary_text
 
272
  print(distractors)
273
 
274
  # output= output + ques + "\n" + "Ans: "+answer.capitalize() + "\n\n"
275
+ output ="<br>"+ output + "<b style='color:blue;'>" + ques + "</b>"
276
  # output = output + "<br>"
277
+ output ="<br>"+ output + "<li><b style='color:green;'>" + "Ans: " +answer.capitalize()+ "</b></li><br>"
278
  if len(distractors)>0:
279
  for distractor in distractors[:4]:
280
+ output = output + "<li><b style='color:brown;'>" + distractor+ "</b></li><br>"
281
  output = output + "<br>"
282
 
283
  # summary ="Summary: "+ summary_text