Update nodes.py

This commit is contained in:
Sam Khoze
2024-06-14 22:54:54 +05:30
committed by GitHub
parent f00d506b7f
commit f03c8ee05f
-1
View File
@@ -1063,7 +1063,6 @@ class TTS_generation:
CATEGORY = "DeepFuze" # Category for the node in the UI
def generate_audio(self, audio, text,device,supported_language):
print(text)
language = supported_language.split("(")[1][:-1]
file_path = os.path.join(audio_path,str(time.time()).replace(".","")+".wav")
write(file_path,audio.sample_rate,audio.audio_data)