# Record voice until silence is detected.
# save WAV file
vad.record()
# use newly recorded file.
name = []
name = recog.identify_speaker()
return name
if name == "main":
speaker = find_speaker()
print(speaker[0])
speaker.txt file is generated successfully but .gzbin file is not generated
while training voice i used this code
from piwho import recognition from piwho import vad
def find_speaker(): recog = recognition.SpeakerRecognizer()
if name == "main": speaker = find_speaker() print(speaker[0])
speaker.txt file is generated successfully but .gzbin file is not generated
please reply thanks