Skip to content

Commit 1a43527

Browse files
committed
📝 Doc typo
1 parent fa61aad commit 1a43527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎packages/inference/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ await hf.imageToText({
171171
})
172172

173173
// Custom call, for models with custom parameters / outputs
174-
await inference.request({
174+
await hf.request({
175175
model: 'my-custom-model',
176176
inputs: 'hello world',
177177
parameters: {
@@ -180,7 +180,7 @@ await inference.request({
180180
})
181181

182182
// Custom streaming call, for models with custom parameters / outputs
183-
for await (const output of inference.streamingRequest({
183+
for await (const output of hf.streamingRequest({
184184
model: 'my-custom-model',
185185
inputs: 'hello world',
186186
parameters: {

0 commit comments

Comments
 (0)