fix: removed unnecessary run_command

This commit is contained in:
Shiven Mian 2024-02-10 19:35:56 -08:00
parent 19502db6c6
commit b5dcb40dde
1 changed files with 0 additions and 5 deletions

View File

@ -13,11 +13,6 @@ import tempfile
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):
if os.getenv('ALL_LOCAL') == 'False':
response = client.audio.speech.create(