|
|
@ -125,7 +125,7 @@ def export_audio_to_wav_ffmpeg(audio: bytearray, mime_type: str) -> str:
|
|
|
|
|
|
|
|
|
|
|
|
def run_command(command):
|
|
|
|
def run_command(command):
|
|
|
|
result = subprocess.run(
|
|
|
|
result = subprocess.run(
|
|
|
|
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
|
|
|
|
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True
|
|
|
|
)
|
|
|
|
)
|
|
|
|
return result.stdout, result.stderr
|
|
|
|
return result.stdout, result.stderr
|
|
|
|
|
|
|
|
|
|
|
|