Closed JarbasAl closed 1 week ago
The changes in this pull request involve a modification to the download_model
method of the ModelContainer
class in the ovos_ww_plugin_vosk
module. The method now uses a replace
function to remove file extensions from the model name, specifically targeting .zip
and .tar.xz
, enhancing the robustness of model name extraction. The overall structure and logic of the classes remain unchanged, with no new functionalities introduced or alterations to method signatures, parameters, or return types.
File Path | Change Summary |
---|---|
ovos_ww_plugin_vosk/init.py | Modified download_model method to use replace for removing .zip and .tar.xz extensions from model names. |
In the code where models play,
A rabbit hops and finds the way.
With a tweak here and a change so slight,
Names are clear, and paths are bright!
Hooray for fixes, let’s cheer and sing,
For every hop, new joy they bring! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Bug Fixes
Chores