Skip to content

Commit

Permalink
Escape newline to fix JSON (tensorflow#580)
Browse files Browse the repository at this point in the history
* Escape newline to fix JSON

* Fix missing comma in JSON

Co-authored-by: Ping Yu <[email protected]>
  • Loading branch information
mdr and pyu10055 authored Feb 9, 2021
1 parent 3123e90 commit 005c7a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@
"Then the custom model can be loaded in JavaScript with:\n",
"\n",
"```js\n",
"import * as tf from '@tensorflow/tfjs-core';
import * as tfl from '@tensorflow/tfjs-layers';\n",
"import * as tf from '@tensorflow/tfjs-core';\n",
"import * as tfl from '@tensorflow/tfjs-layers';\n",
"import * as speechCommands from '@tensorflow-models/speech-commands';\n",
"\n",
"const recognizer = speechCommands.create(\n",
Expand Down

0 comments on commit 005c7a0

Please sign in to comment.