mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00
Fix typo in olympics-1-collect-data.ipynb (#787)
Co-authored-by: Shyamal H Anadkat <shyamal@openai.com>
This commit is contained in:
parent
7b75900690
commit
109143f505
@ -176,7 +176,7 @@
|
|||||||
" if len(wiki_text) == 0:\n",
|
" if len(wiki_text) == 0:\n",
|
||||||
" return []\n",
|
" return []\n",
|
||||||
"\n",
|
"\n",
|
||||||
" # find all headings and the coresponding contents\n",
|
" # find all headings and the corresponding contents\n",
|
||||||
" headings = re.findall(\"==+ .* ==+\", wiki_text)\n",
|
" headings = re.findall(\"==+ .* ==+\", wiki_text)\n",
|
||||||
" for heading in headings:\n",
|
" for heading in headings:\n",
|
||||||
" wiki_text = wiki_text.replace(heading, \"==+ !! ==+\")\n",
|
" wiki_text = wiki_text.replace(heading, \"==+ !! ==+\")\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user