From 9c2bfb08b451d2f6a09f7ba06d759ece4bfc0c5d Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Sun, 16 Nov 2025 08:22:41 -0800 Subject: [PATCH] Update Uptated-Prototype/TTS-Script-PiperTTS.py --- Uptated-Prototype/TTS-Script-PiperTTS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uptated-Prototype/TTS-Script-PiperTTS.py b/Uptated-Prototype/TTS-Script-PiperTTS.py index d630045..27447f7 100644 --- a/Uptated-Prototype/TTS-Script-PiperTTS.py +++ b/Uptated-Prototype/TTS-Script-PiperTTS.py @@ -5,7 +5,7 @@ import subprocess import cmd import os -texttospeak = subprocess.Popen(cmd, xsel --clipboard, capture_output=True) # In Theory grab selected text into Varible cakked TextToSpeak) # In Theory grab selected text and print ot to terminal +texttospeak = subprocess.Popen(["xsel --clipboard"], stdout=subprocess.PIPE) # In Theory grab selected text into Varible cakked TextToSpeak) # In Theory grab selected text and print ot to terminal print(texttospeak) texttospeak = "Welcome to the world of speech synthesis! This is an example of text-to-speech using Piper TTS."