Skip to content

refactor: Update whisper version and add extra models#31

Merged
royshil merged 5 commits into
mainfrom
roy.bump_versions_add_models
Oct 21, 2024
Merged

refactor: Update whisper version and add extra models#31
royshil merged 5 commits into
mainfrom
roy.bump_versions_add_models

Conversation

@royshil

@royshil royshil commented Oct 20, 2024

Copy link
Copy Markdown
Owner

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.

royshil and others added 5 commits October 20, 2024 17:58
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>
@royshil royshil merged commit 70071b2 into main Oct 21, 2024
@royshil royshil deleted the roy.bump_versions_add_models branch October 21, 2024 01:05
@a287400871

Copy link
Copy Markdown

crashes.log
Several computers are like this, with different system versions

Unhandled exception: c000001d
Date/Time: 2024-11-08, 22:04:06
Fault address: 7FFD73A2C6F0 (s:\program files\OBS-Studio-30.2.3\obs-plugins\64bit\ggml.dll)
libobs version: 30.2.3 (64-bit)
Windows version: 10.0 build 19045 (release: 22H2; revision: 3031; 64-bit)

@royshil

royshil commented Nov 8, 2024

Copy link
Copy Markdown
Owner Author

@a287400871 this probably has to do with missing DLLs, but not 100% sure
are you able to run depends.exe on the ggml.dll? https://dependencywalker.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants