Vlad-T commited on
Commit
8e716f5
·
verified ·
1 Parent(s): 6ed1d89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -213,10 +213,10 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
213
  answers_payload = []
214
 
215
  # Limit number of questions if sample_size is specified
216
- if sample_size > 0 and sample_size < len(questions_data):
217
- import random
218
- print(f"Using a sample of {sample_size} questions from {len(questions_data)} total questions")
219
- questions_data = random.sample(questions_data, sample_size)
220
 
221
 
222
  print(f"Running agent on {len(questions_data)} questions...")
 
213
  answers_payload = []
214
 
215
  # Limit number of questions if sample_size is specified
216
+ # if sample_size > 0 and sample_size < len(questions_data):
217
+ # import random
218
+ # print(f"Using a sample of {sample_size} questions from {len(questions_data)} total questions")
219
+ # questions_data = random.sample(questions_data, sample_size)
220
 
221
 
222
  print(f"Running agent on {len(questions_data)} questions...")