Skip to content

Commit 1d4d6c6

Browse files
authored
fix typo
1 parent 53274c0 commit 1d4d6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortext/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async def get_list(list_type, num_questions_needed, theme=None):
134134
if random_int <= 50:
135135
task_type = "questions"
136136
else:
137-
task_type = random.sample(template.INSTRUCT_TASK_OPTIONS, 1)
137+
task_type = random.sample(cortext.INSTRUCT_TASK_OPTIONS, 1)
138138

139139
prompt = (f"Generate a python-formatted list of {prompts_in_question[list_type]} {task_type} "
140140
f"or instruct tasks related to the theme '{theme}', each with a complexity level "

0 commit comments

Comments
 (0)