From e41d037ec526beff18b516dc2c13cfcdb9e0dd6f Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Sat, 8 Nov 2025 15:43:44 -0800 Subject: [PATCH] Update Uptated-Prototype/TTS-Script-PiperTTS.py --- Uptated-Prototype/TTS-Script-PiperTTS.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Uptated-Prototype/TTS-Script-PiperTTS.py b/Uptated-Prototype/TTS-Script-PiperTTS.py index 3acbf7a..35fc675 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS.py @@ -2,9 +2,9 @@ from piper.voice import PiperVoice # Backbone of text to speech import pyaudio import os -print(os.popen('xsel').read()) # In Theory grab selected text and print ot to terminal +# print(os.popen('xsel').read()) # In Theory grab selected text and print ot to terminal -TextToSpeak = os.popen('xsel').read() # In Theory grab selected text into Varible cakked TextToSpeak +TextToSpeak = "Hello This is a Test!" #os.popen('xsel').read() # In Theory grab selected text into Varible cakked TextToSpeak voice = PiperVoice.load("~/en_US-amy-medium.onnx") # Load the model