Skip to content

fix: handle None PerthImplicitWatermarker by falling back to DummyWatermarker#469

Open
s0wa48 wants to merge 1 commit intoresemble-ai:masterfrom
s0wa48:fix/issue-198-typeerror-nonetype-object-i
Open

fix: handle None PerthImplicitWatermarker by falling back to DummyWatermarker#469
s0wa48 wants to merge 1 commit intoresemble-ai:masterfrom
s0wa48:fix/issue-198-typeerror-nonetype-object-i

Conversation

@s0wa48
Copy link
Copy Markdown

@s0wa48 s0wa48 commented Feb 24, 2026

Summary

  • perth.PerthImplicitWatermarker can be None in some environments (e.g., certain CUDA/platform configurations), causing a TypeError: 'NoneType' object is not callable when initializing ChatterboxTTS.
  • This fix checks if perth.PerthImplicitWatermarker is callable before instantiating it, and falls back to perth.DummyWatermarker if it is not available.

Fixes #198


This PR was auto-generated by Gittensor bot using Claude AI to fix a reported issue.

@tomschelsen
Copy link
Copy Markdown

Same issue in vc.py, could you expand the PR to it as well ?

@sabilmakbar
Copy link
Copy Markdown

I think this one is solved if you install the perth package (watermarking model used by Chatterbox) using Github Source installation, not PyPI. See this discussion:
resemble-ai/Perth#7

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.

TypeError: 'NoneType' object is not callable when initializing ChatterboxTTS

3 participants