Skip to content

Commit

Permalink
Merge pull request #1 from sammygrey/sammygrey-patch-1
Browse files Browse the repository at this point in the history
Update whisper.cc
  • Loading branch information
sammygrey authored Jan 16, 2025
2 parents 8dee2a2 + b385025 commit a8cdf17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/cpp/whisper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ namespace ctranslate2 {
return "WhisperGenerationResult(sequences=" + std::string(py::repr(py::cast(result.sequences)))
+ ", sequences_ids=" + std::string(py::repr(py::cast(result.sequences_ids)))
+ ", scores=" + std::string(py::repr(py::cast(result.scores)))
+ ", logits=" + std::string(py::repr(py::cast(result.logits)))
+ ", no_speech_prob=" + std::string(py::repr(py::cast(result.no_speech_prob)))
+ ")";
})
Expand Down

0 comments on commit a8cdf17

Please # to comment.