Skip to content

Commit 5d902d4

Browse files
author
root
committed
fix typo
1 parent b36bb86 commit 5d902d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/inference/gpt/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def get_requests_from_file(
309309
sampling_params_list = []
310310
with open(args.prompt_file) as f:
311311
for line in tqdm(f.readlines(), "read prompt file", total=n_prompts):
312-
line_dict = json.loads(line)]
312+
line_dict = json.loads(line)
313313
prompts.append(line_dict["text"])
314314

315315
sp = copy.deepcopy(sampling_params)

0 commit comments

Comments
 (0)