From da752bb00c40458db892b90f502bc8c56a924291 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 24 Sep 2024 09:28:13 -0700 Subject: [PATCH] fix: Suppress warning about missing ffmpeg or avconv --- aider/voice.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider/voice.py b/aider/voice.py index 1334a0a7e..69fe109af 100644 --- a/aider/voice.py +++ b/aider/voice.py @@ -3,9 +3,12 @@ import os import queue import tempfile import time +import warnings from aider.llm import litellm +warnings.filterwarnings("ignore", message="Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work") + try: import soundfile as sf except (OSError, ModuleNotFoundError):