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

This commit is contained in:
2025-12-03 08:44:44 -08:00
parent 6f8be98472
commit 3ea196bd57

View File

@@ -4,6 +4,7 @@ import pyaudio
import os import os
import subprocess import subprocess
import time import time
from piper.voice import SynthesisConfig
result = subprocess.run(["xsel"], capture_output=True, text=True) # In Theory grab selected text into Varible called TextToSpeak result = subprocess.run(["xsel"], capture_output=True, text=True) # In Theory grab selected text into Varible called TextToSpeak
#print(result) # In Theory grab selected text and print ot to terminal #print(result) # In Theory grab selected text and print ot to terminal