Skip to content

Commit 1b4e19d

Browse files
authored
Update docs for USE / toxicity. (tensorflow#219)
1 parent 6fb21c2 commit 1b4e19d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

toxicity/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Check out our [demo](https://storage.googleapis.com/tfjs-models/demos/toxicity/i
1212

1313
Using `yarn`:
1414

15-
$ yarn add @tensorflow/tfjs@1.0.0 @tensorflow-models/toxicity
15+
$ yarn add @tensorflow/tfjs @tensorflow-models/toxicity
1616

1717
Using `npm`:
1818

19-
$ npm install @tensorflow/tfjs@1.0.0 @tensorflow-models/toxicity
19+
$ npm install @tensorflow/tfjs @tensorflow-models/toxicity
2020

2121
## Usage
2222

@@ -29,7 +29,7 @@ import * as toxicity from '@tensorflow-models/toxicity';
2929
or as a standalone script tag:
3030

3131
```html
32-
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.0"></script>
32+
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
3333
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/toxicity"></script>
3434
```
3535

universal-sentence-encoder/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ The sentences (taken from the [TensorFlow Hub USE lite colab](https://colab.sand
2222

2323
Using `yarn`:
2424

25-
$ yarn add @tensorflow/tfjs@1.0.0 @tensorflow-models/universal-sentence-encoder
25+
$ yarn add @tensorflow/tfjs @tensorflow-models/universal-sentence-encoder
2626

2727
Using `npm`:
2828

29-
$ npm install @tensorflow/tfjs@1.0.0 @tensorflow-models/universal-sentence-encoder
29+
$ npm install @tensorflow/tfjs @tensorflow-models/universal-sentence-encoder
3030

3131
## Usage
3232

@@ -39,7 +39,7 @@ import * as use from '@tensorflow-models/universal-sentence-encoder';
3939
or as a standalone script tag:
4040

4141
```html
42-
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.0"></script>
42+
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
4343
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/universal-sentence-encoder"></script>
4444
```
4545

0 commit comments

Comments
 (0)