18
18
19
19
# The contact information only needs to be registered on the main config
20
20
class AlignerConfigNoContact (AlignerConfig ):
21
- contact : Optional [ContactInformation ] = None
21
+ contact : Optional [ContactInformation ] = None # type: ignore
22
22
23
23
24
24
class VocoderConfigNoContact (VocoderConfig ):
25
- contact : Optional [ContactInformation ] = None
25
+ contact : Optional [ContactInformation ] = None # type: ignore
26
26
27
27
28
28
class FeaturePredictionConfigNoContact (FeaturePredictionConfig ):
29
- contact : Optional [ContactInformation ] = None
29
+ contact : Optional [ContactInformation ] = None # type: ignore
30
30
31
31
32
32
class E2ETrainingConfig (BaseTrainingConfig ):
@@ -36,17 +36,17 @@ class E2ETrainingConfig(BaseTrainingConfig):
36
36
37
37
class EveryVoiceConfig (BaseModelWithContact ):
38
38
aligner : AlignerConfig | AlignerConfigNoContact = Field (
39
- default_factory = AlignerConfigNoContact
39
+ default_factory = AlignerConfigNoContact # type: ignore
40
40
)
41
41
path_to_aligner_config_file : Optional [FilePath ] = None
42
42
43
43
feature_prediction : FeaturePredictionConfig | FeaturePredictionConfigNoContact = (
44
- Field (default_factory = FeaturePredictionConfigNoContact )
44
+ Field (default_factory = FeaturePredictionConfigNoContact ) # type: ignore
45
45
)
46
46
path_to_feature_prediction_config_file : Optional [FilePath ] = None
47
47
48
48
vocoder : VocoderConfig | VocoderConfigNoContact = Field (
49
- default_factory = VocoderConfigNoContact
49
+ default_factory = VocoderConfigNoContact # type: ignore
50
50
)
51
51
path_to_vocoder_config_file : Optional [FilePath ] = None
52
52
0 commit comments