fix typos, add codespell pre-commit hook (#264)

* fix typos, add codespell pre-commit hook

* Update .pre-commit-config.yaml

---------

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
This commit is contained in:
Jeroen Van Goey
2024-07-16 14:07:04 +02:00
committed by GitHub
parent 6ffd628bb6
commit 48bd72c890
5 changed files with 21 additions and 4 deletions

View File

@@ -166,7 +166,7 @@
" return response.choices[0].message.content\n",
"\n",
"\n",
"# Prepare intput\n",
"# Prepare input\n",
"sentence = \"I ate breakfast\"\n",
"prompt = f\"Convert the following sentence to passive voice: '{sentence}'\"\n",
"run_chatgpt(prompt, client)"