@huggingface/inference 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -16,6 +16,13 @@ yarn add @huggingface/inference
|
|
|
16
16
|
pnpm add @huggingface/inference
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
### Deno
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
// This should automatically load the types located at https://www.unpkg.com/@huggingface/inference@2.3.2/dist/index.d.ts
|
|
23
|
+
import { HfInference } from "https://www.unpkg.com/@huggingface/inference@2.3.2/dist/index.mjs"
|
|
24
|
+
```
|
|
25
|
+
|
|
19
26
|
## Usage
|
|
20
27
|
|
|
21
28
|
❗**Important note:** Using an access token is optional to get started, however you will be rate limited eventually. Join [Hugging Face](https://huggingface.co/join) and then visit [access tokens](https://huggingface.co/settings/tokens) to generate your access token for **free**.
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huggingface/inference",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"packageManager": "pnpm@8.3.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"ts-node": "^10.9.1",
|
|
43
43
|
"typescript": "^5.0.4",
|
|
44
44
|
"vite": "^4.1.4",
|
|
45
|
-
"vitest": "^0.29.8"
|
|
46
|
-
"@huggingface/shared": "1.0.0"
|
|
45
|
+
"vitest": "^0.29.8"
|
|
47
46
|
},
|
|
48
47
|
"bundledDependencies": [
|
|
49
48
|
"@huggingface/shared"
|