Replace resemble-perth with a no-op stub
All checks were successful
Build ROCm Image / build (push) Successful in 17m32s

resemble-perth uses uv-build which is incompatible with the old system
pip in the ROCm base image. Since watermarking is unnecessary for
self-hosted private use, stub out the perth module so chatterbox's
import is satisfied without any build complexity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 11:16:08 -04:00
parent dc7a3cf769
commit de6156a336
3 changed files with 19 additions and 7 deletions

11
perth_stub.py Normal file
View File

@@ -0,0 +1,11 @@
# Stub for resemble-perth audio watermarking.
# Watermarking is unnecessary for self-hosted/private deployments.
# This stub satisfies chatterbox's import without the build complexity.
class PerthImplicitWatermarker:
def apply_watermark(self, audio, sample_rate):
return audio
class PerthImperceptibleWatermarker:
def apply_watermark(self, audio, sample_rate):
return audio