From b5dcb40dde251f42321b727e3cc8ef3184f85b76 Mon Sep 17 00:00:00 2001 From: Shiven Mian Date: Sat, 10 Feb 2024 19:35:56 -0800 Subject: [PATCH] fix: removed unnecessary run_command --- OS/01/tts.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OS/01/tts.py b/OS/01/tts.py index 366d380..e51972a 100644 --- a/OS/01/tts.py +++ b/OS/01/tts.py @@ -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(