Skip to content

Commit 7aa8967

Browse files
authored
readme typo (#958)
1 parent 161d341 commit 7aa8967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ for await (const chunk of inference.chatCompletionStream({
143143
}
144144

145145
// You can also omit "model" to use the recommended model for the task
146-
await hf.translation({
146+
await inference.translation({
147147
inputs: "My name is Wolfgang and I live in Amsterdam",
148148
parameters: {
149149
src_lang: "en",

0 commit comments

Comments
 (0)