(device: str = "cuda")
| 18 | |
| 19 | |
| 20 | def 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() |
no outgoing calls
no test coverage detected