Update Uptated-Prototype/TTS-Script-PiperTTS 2nd.py
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user