duyv's picture
Upload 128 files
a926f18 verified
raw
history blame contribute delete
343 Bytes
import subprocess,os
def TTSnorm1(text):
with open("input.txt","w+") as fw:
fw.write(text)
myenv = os.environ.copy()
myenv['LD_LIBRARY_PATH'] = 'lib'
subprocess.check_call(['./main'], env=myenv)
with open("output.txt","r") as fr:
text=fr.read()
return text
def testnorm(text):
return text