Instructions to use facebook/audioseal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- AudioSeal
How to use facebook/audioseal with AudioSeal:
# Watermark Generator from audioseal import AudioSeal model = AudioSeal.load_generator("facebook/audioseal") # pass a tensor (tensor_wav) of shape (batch, channels, samples) and a sample rate wav, sr = tensor_wav, 16000 watermark = model.get_watermark(wav, sr) watermarked_audio = wav + watermark# Watermark Detector from audioseal import AudioSeal detector = AudioSeal.load_detector("facebook/audioseal") result, message = detector.detect_watermark(watermarked_audio, sr) - Notebooks
- Google Colab
- Kaggle
Commit History
-
Rename detector_base_16bits.pth to detector_base.pth
Verified signatureaf254fb -
Rename generator.pth to generator_base_16bits.pth (#4)
Verified signature- Rename generator.pth to generator_base_16bits.pth (ce849a700db9386427ebd8aa373ed49332c09bf2) Co-authored-by: Vaibhav Srivastav <reach-vb@users.noreply.huggingface.co>76fb888 -
Rename detector.pth to detector_base_16bits.pth (#3)
Verified signature- Rename detector.pth to detector_base_16bits.pth (150c35f430d79092190e5bd03bb1d8f2ff390aae) Co-authored-by: Vaibhav Srivastav <reach-vb@users.noreply.huggingface.co>6fdedc1
-
Update README.md (#2)
Verified signature- Update README.md (c9e030e329c6137a63f2ff78b289d02ba4f02885)f28be9b -
Create README.md (#1)
Verified signature- Create README.md (f82cc8665fef399bbe5de542d6ff78ae4cf5ae7c)d16f1d8 -
Upload generator.pth with huggingface_hub
Verified signature20f3f5a -
Upload detector.pth with huggingface_hub
Verified signatureda05ae9 -
initial commit
Verified signature2f42772