Update Uptated-Prototype/TTS-Script-PiperTTS.py

This commit is contained in:
2025-11-08 16:30:25 -08:00
parent 58e2deacce
commit 977eca1a70

View File

@@ -4,7 +4,7 @@ import pyaudio
import os
# print(os.popen('xsel').read()) # In Theory grab selected text and print ot to terminal
texttospeak = "Hello This is a Test!" #os.popen('xsel').read() # In Theory grab selected text into Varible cakked TextToSpeak
texttospeak = "Welcome to the world of speech synthesis! This is an example of text-to-speech using Piper TTS." #os.popen('xsel').read() # In Theory grab selected text into Varible cakked TextToSpeak
voice = PiperVoice.load("~/en_US-amy-medium.onnx") # Load the model