Fix PyTorch 2.6+ weights_only=True unpickling error for XttsConfig

#100

Fixes _pickle.UnpicklingError caused by PyTorch 2.6 default security changes (weights_only=True).

Explicitly whitelists XttsConfig via torch.serialization.add_safe_globals to enable model loading without disabling security checks.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment