Spaces:
Build error
Build error
BilalSardar
commited on
Commit
•
a86c046
1
Parent(s):
a2f0fa3
Update app.py
Browse files
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 ="
|
276 |
# output = output + "<br>"
|
277 |
-
output ="
|
278 |
if len(distractors)>0:
|
279 |
for distractor in distractors[:4]:
|
280 |
-
output = output + "
|
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
|