Correct small coding typo
parent
1e81324573
commit
9d99ae9f9f
|
@ -1383,7 +1383,7 @@
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"def string_to_ids(s, chars=POSSIBLE_CHARS):\n",
|
"def string_to_ids(s, chars=POSSIBLE_CHARS):\n",
|
||||||
" return [POSSIBLE_CHARS.index(c) for c in s]"
|
" return [chars.index(c) for c in s]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue