(config: "XttsConfig", **kwargs)
| 703 | |
| 704 | @staticmethod |
| 705 | def init_from_config(config: "XttsConfig", **kwargs): # pylint: disable=unused-argument |
| 706 | return Xtts(config) |
| 707 | |
| 708 | def eval(self): # pylint: disable=redefined-builtin |
| 709 | """Sets the model to evaluation mode. Overrides the default eval() method to also set the GPT model to eval mode.""" |