Download whisper.cpp/bindings/ruby/test/test_vad_segment.rb from Dyen/Rovin: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/Dyen/Rovin/resolve/main/whisper.cpp/bindings/ruby/test/test_vad_segment.rb
- Command line
-
hf download hf://spaces/Dyen/Rovin/whisper.cpp/bindings/ruby/test/test_vad_segment.rb
-
curl -L -o test_vad_segment.rb https://huggingface.co/spaces/Dyen/Rovin/resolve/main/whisper.cpp/bindings/ruby/test/test_vad_segment.rb
309 Bytes
| require_relative "helper" | |
| class TestVADSegment < TestBase | |
| def test_initialize | |
| segment = Whisper::VAD::Segment.new | |
| assert_raise do | |
| segment.start_time | |
| end | |
| assert_raise do | |
| segments.end_time | |
| end | |
| assert_raise do | |
| segment => {start_time:, end_time:} | |
| end | |
| end | |
| end | |