refactor: Update whisper version and add extra models#31
Merged
Conversation
The audio processing delay calculation in the `process_audio_from_buffer` function has been updated. The duration of the audio processing is now compared to the remaining delay, and if it exceeds the delay, the delay is increased by 100 milliseconds. Otherwise, the delay is decreased by 100 milliseconds. refactor: Update model information retrieval The code for retrieving model information in the `cleanstream_properties` function has been updated. The loop that adds models to the list now uses the `models_info()` function instead of the `models_info` map directly. refactor: Update whisper model update logic The logic for updating the whisper model in the `update_whisper_model` function has been updated. The `models_info()` function is now used to check if the new model path exists in the `models_info` map. Additionally, the `models_info().at(new_model_path)` function is used to retrieve the model information. refactor: Update model downloader types The `models_info` map has been changed to a function `models_info()` that returns a constant reference to the map. The `get_sorted_models_info` function has also been added to retrieve a sorted vector of model information. refactor: Update prebuilt whispercpp version The prebuilt whispercpp version in the `BuildWhispercpp.cmake` file has been updated to version 0.0.7. The download URL has also been updated to the new repository location.
This commit adds the file model-find-utils.cpp to the model-utils directory. This file is responsible for finding model folders. It is necessary for the functionality of the application. Co-authored-by: locaal-ai <locaal-ai@example.com>
|
crashes.log Unhandled exception: c000001d |
Owner
Author
|
@a287400871 this probably has to do with missing DLLs, but not 100% sure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The audio processing delay calculation in the
process_audio_from_bufferfunction has been updated. The duration of the audio processing is now compared to the remaining delay, and if it exceeds the delay, the delay is increased by 100 milliseconds. Otherwise, the delay is decreased by 100 milliseconds.refactor: Update model information retrieval
The code for retrieving model information in the
cleanstream_propertiesfunction has been updated. The loop that adds models to the list now uses themodels_info()function instead of themodels_infomap directly.refactor: Update whisper model update logic
The logic for updating the whisper model in the
update_whisper_modelfunction has been updated. Themodels_info()function is now used to check if the new model path exists in themodels_infomap. Additionally, themodels_info().at(new_model_path)function is used to retrieve the model information.refactor: Update model downloader types
The
models_infomap has been changed to a functionmodels_info()that returns a constant reference to the map. Theget_sorted_models_infofunction has also been added to retrieve a sorted vector of model information.refactor: Update prebuilt whispercpp version
The prebuilt whispercpp version in the
BuildWhispercpp.cmakefile has been updated to version 0.0.7. The download URL has also been updated to the new repository location.