Skip to content

Commit bee9b94

Browse files
committed
expose cwhisper_token_to_str method
1 parent f50e0c2 commit bee9b94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ PYBIND11_MODULE(_pywhispercpp, m) {
477477
"Cols: n_vocab");
478478

479479

480+
m.def("whisper_token_to_str", &whisper_token_to_str_wrapper, "whisper_token_to_str");
480481
m.def("whisper_token_eot", &whisper_token_eot_wrapper, "whisper_token_eot");
481482
m.def("whisper_token_sot", &whisper_token_sot_wrapper, "whisper_token_sot");
482483
m.def("whisper_token_prev", &whisper_token_prev_wrapper);

0 commit comments

Comments
 (0)