Skip to content

Commit

Permalink
fix grammar gpt typing
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Jun 24, 2024
1 parent ce41d10 commit 6655f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tools/fix_grammar_gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def get_chunk_length(chunk: List[str]) -> int:
temperature=0,
)

fixed_chunks.append(response.choices[0].message.content)
fixed_chunks.append(response.choices[0].message.content) # type: ignore

with open(file_path, "w", encoding="utf-8") as f:
for c in fixed_chunks:
Expand Down

0 comments on commit 6655f56

Please sign in to comment.