We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa61aad commit 1a43527Copy full SHA for 1a43527
‎packages/inference/README.md
@@ -171,7 +171,7 @@ await hf.imageToText({
171
})
172
173
// Custom call, for models with custom parameters / outputs
174
-await inference.request({
+await hf.request({
175
model: 'my-custom-model',
176
inputs: 'hello world',
177
parameters: {
@@ -180,7 +180,7 @@ await inference.request({
180
181
182
// Custom streaming call, for models with custom parameters / outputs
183
-for await (const output of inference.streamingRequest({
+for await (const output of hf.streamingRequest({
184
185
186
0 commit comments