Technozam commited on
Commit
9eb3589
1 Parent(s): 96d0df9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -408,17 +408,6 @@ def generate_question_text(context,subject,total):
408
  output = output + "<b style='color:green;'> ▪ " +answer.capitalize()+ "</b>"
409
  output = output + "<br>"
410
 
411
- # mycursor = mydb.cursor()
412
- # timedate = datetime.datetime.now()
413
-
414
- # sql = "INSERT INTO mcqstexts (subject, input, output, timedate) VALUES (%s,%s, %s,%s)"
415
- # val = (subject, context, output, timedate)
416
- # mycursor.execute(sql, val)
417
-
418
- # mydb.commit()
419
-
420
- # print(mycursor.rowcount, "record inserted.")
421
-
422
  return output
423
 
424
 
 
408
  output = output + "<b style='color:green;'> ▪ " +answer.capitalize()+ "</b>"
409
  output = output + "<br>"
410
 
 
 
 
 
 
 
 
 
 
 
 
411
  return output
412
 
413