Update app.py
Browse files
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 |
-
|
218 |
-
|
219 |
-
|
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...")
|