improve half precision check, and fallback(exp.)

This commit is contained in:
wataru 2023-06-03 17:15:59 +09:00
parent 605e04f48f
commit 28fa21a6b4

View File

@ -576,7 +576,9 @@ class VoiceChanger:
print("[Voice Changer] embedder:", e)
return np.zeros(1).astype(np.int16), [0, 0, 0]
except VoiceChangerIsNotSelectedException:
print("[Voice Changer] Voice Changer is not selected. please re-select vc.")
print(
"[Voice Changer] Voice Changer is not selected. Wait a bit and if there is no improvement, please re-select vc."
)
return np.zeros(1).astype(np.int16), [0, 0, 0]
except Exception as e:
print("[Voice Changer] VC PROCESSING EXCEPTION!!!", e)