From 1d4d6c6a4833c7b3b1de02291f32a4dc77956600 Mon Sep 17 00:00:00 2001 From: surcyf123 <114649324+surcyf123@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:14:35 -0400 Subject: [PATCH] fix typo --- cortext/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cortext/utils.py b/cortext/utils.py index 82b119da..a8e11de3 100644 --- a/cortext/utils.py +++ b/cortext/utils.py @@ -134,7 +134,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(cortext.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 "