ignore type mismatch

This commit is contained in:
frodo821 2023-04-10 09:34:03 +09:00
parent cb6a58550c
commit 2ef04456a1
No known key found for this signature in database
GPG Key ID: 29F87B8DC3A2425D

View File

@ -68,7 +68,7 @@ class VoiceChanger():
print("[VoiceChanger] activate model type:", self.modelType)
if self.modelType == "MMVCv15":
from voice_changer.MMVCv15.MMVCv15 import MMVCv15
self.voiceChanger = MMVCv15()
self.voiceChanger = MMVCv15() # type: ignore
elif self.modelType == "MMVCv13":
from voice_changer.MMVCv13.MMVCv13 import MMVCv13
self.voiceChanger = MMVCv13()