BillBojangeles2000 commited on
Commit
c30dd36
·
1 Parent(s): 987bab3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ if generate_quiz:
154
  question_list = subjective_generator.generate_test(topic) # Define 'questions' here
155
  questions = []
156
  for i, question in enumerate(question_list):
157
- if "Explain" not in question and len(tool.check(question)) == 0 and grammar_sense(question):
158
  questions.append(f"Question: {question}")
159
 
160
  for i, question in enumerate(questions):
 
154
  question_list = subjective_generator.generate_test(topic) # Define 'questions' here
155
  questions = []
156
  for i, question in enumerate(question_list):
157
+ if (not "Explain" in question) and (len(tool.check(question)) == 0) and (grammar_sense(question)):
158
  questions.append(f"Question: {question}")
159
 
160
  for i, question in enumerate(questions):