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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue