MCPcopy
hub / github.com/SesameAILabs/csm / load_watermarker

Function load_watermarker

watermarking.py:20–25  ·  view source on GitHub ↗
(device: str = "cuda")

Source from the content-addressed store, hash-verified

18
19
20def load_watermarker(device: str = "cuda") -> silentcipher.server.Model:
21 model = silentcipher.get_model(
22 model_type="44.1k",
23 device=device,
24 )
25 return model
26
27
28@torch.inference_mode()

Callers 2

__init__Method · 0.90
check_audio_from_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected