Skip to content

Commit 0ca2699

Browse files
committed
Update README
1 parent 9fa352c commit 0ca2699

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bindings/ruby/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ whisper = Whisper::Context.new("path/to/your/model.bin")
8787
Or, you can download model files:
8888

8989
```ruby
90-
model_uri = Whisper::Model::URI.new("http://example.net/uri/of/your/model.bin")
91-
whisper = Whisper::Context.new(model_uri)
90+
whisper = Whisper::Context.new("https://example.net/uri/of/your/model.bin")
91+
# Or
92+
whisper = Whisper::Context.new(URI("https://example.net/uri/of/your/model.bin"))
9293
```
9394

9495
See [models][] page for details.

0 commit comments

Comments
 (0)