From f2230d9b718d14b02d4768fe525cb25c93999467 Mon Sep 17 00:00:00 2001 From: surcyf123 <114649324+surcyf123@users.noreply.github.com> Date: Sat, 10 Feb 2024 02:26:03 -0500 Subject: [PATCH] fix capitals --- template/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/utils.py b/template/utils.py index 5e0a3f11..1ded1416 100644 --- a/template/utils.py +++ b/template/utils.py @@ -105,7 +105,7 @@ async def get_list(list_type, num_questions_needed, theme=None): if random_int <= 50: task_type = "questions" else: - task_type = random.sample(template.instruct_task_options, 1) + task_type = random.sample(template.INSTRUCT_TASK_OPTIONS, 1) prompt = (f"Generate a python-formatted list of {prompts_in_question[list_type]} {task_type} " f"or instruct tasks related to the theme '{theme}', each with a complexity level "