fix: removed unnecessary run_command

pull/19/head
Shiven Mian 11 months ago
parent 19502db6c6
commit b5dcb40dde

@ -13,11 +13,6 @@ import tempfile
client = OpenAI() client = OpenAI()
def run_command(command):
print(command)
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
return result
def tts(text, play_audio): def tts(text, play_audio):
if os.getenv('ALL_LOCAL') == 'False': if os.getenv('ALL_LOCAL') == 'False':
response = client.audio.speech.create( response = client.audio.speech.create(

Loading…
Cancel
Save