Hidayatmahar commited on
Commit
4d7a4ef
·
verified ·
1 Parent(s): 17eeecf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ with open("questions.json", "r", encoding="utf-8") as f:
8
 
9
  # Pick up to 50 random questions
10
  def get_test_questions():
11
- num_questions = min(100, len(all_questions))
12
  return random.sample(all_questions, num_questions)
13
 
14
  current_test_questions = get_test_questions()
 
8
 
9
  # Pick up to 50 random questions
10
  def get_test_questions():
11
+ num_questions = min(50, len(all_questions))
12
  return random.sample(all_questions, num_questions)
13
 
14
  current_test_questions = get_test_questions()