Skip to content

Commit

Permalink
readme typo (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
gary149 authored Oct 8, 2024
1 parent 161d341 commit 7aa8967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ for await (const chunk of inference.chatCompletionStream({
}

// You can also omit "model" to use the recommended model for the task
await hf.translation({
await inference.translation({
inputs: "My name is Wolfgang and I live in Amsterdam",
parameters: {
src_lang: "en",
Expand Down

0 comments on commit 7aa8967

Please sign in to comment.