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
Add new checkpoint for streaming AudioSeal (#12)
Browse files- Add new checkpoint for streaming AudioSeal (eb6e589e67249dc64c25256ed38acd7e9d76c26f)
- detector_streaming.pth +3 -0
- generator_streaming.pth +3 -0
detector_streaming.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b78b017411b661d77b1e37402b00af6ce5319bfba9a69590489c8bcd0e657e4c
|
| 3 |
+
size 34668361
|
generator_streaming.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5eb3076c1748940578993edd18ecd4fbdbc387fe7613a77f420af921d83eb74
|
| 3 |
+
size 58805126
|