mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: Move imports to top of file
This commit is contained in:
parent
d0e6dc2c1e
commit
e267dc13af
1 changed files with 3 additions and 5 deletions
|
@ -6,6 +6,9 @@ import time
|
|||
import warnings
|
||||
|
||||
from aider.llm import litellm
|
||||
from prompt_toolkit.shortcuts import prompt
|
||||
from pydub import AudioSegment
|
||||
from .dump import dump # noqa: F401
|
||||
|
||||
warnings.filterwarnings(
|
||||
"ignore", message="Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work"
|
||||
|
@ -16,11 +19,6 @@ try:
|
|||
except (OSError, ModuleNotFoundError):
|
||||
sf = None
|
||||
|
||||
from prompt_toolkit.shortcuts import prompt
|
||||
from pydub import AudioSegment
|
||||
|
||||
from .dump import dump # noqa: F401
|
||||
|
||||
|
||||
class SoundDeviceError(Exception):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue