Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
KitaitiMakoto committed Nov 24, 2024
1 parent 77c559d commit 4ce87c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ whisper.each_segment do |segment|
end
```

The second argument `samples` may be a MemoryView. If you can prepare audio data as C array and export it as a MemoryView, whispercpp accepts and works with it with zero copy.
The second argument `samples` may be an array, an object with `length` method, or a MemoryView. If you can prepare audio data as C array and export it as a MemoryView, whispercpp accepts and works with it with zero copy.

License
-------
Expand Down

0 comments on commit 4ce87c4

Please sign in to comment.