Skip to content

Conversation

@EhisOkpebho
Copy link
Contributor

  1. No module named 'pywhispercpp._logger
    Solution: Removing it

  2. Segment' object is not subscriptable
    Solution: self.commands_callback(seg[0].text)-> self.commands_callback(seg.text)

  3. AttributeError: '_pywhispercpp.whisper_full_params' object has no attribute 'model_log_level' and no dict for setting new attributes
    Solution: Removing it from both Model's initialization and init constructor

…bscriptable, AttributeError: '_pywhispercpp.whisper_full_params' object has no attribute 'model_log_level' and no dict for setting new attributes
Copy link
Owner

@absadiki absadiki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @EhisOkpebho for the PR.
We removed the logging from the model class a while ago not but I forgot to update the assistant example.
Please just go ahead and delete the model_log_level from the class.

@absadiki absadiki merged commit fc58ffb into absadiki:main Feb 19, 2025
14 checks passed
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