chore: remove unused imports and dead code
This commit is contained in:
1 parent
2474a3662a
commit
a72cf4ad9c
5 files changed
+6
-77
No files matched your search
+1
-7
@@ -22,7 +22,7 @@ Usage:
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
import os, sys, math, argparse, subprocess, json, shutil, time, threading, tempfile, warnings
|
||||
import os, sys, math, argparse, subprocess, json, shutil, threading, tempfile, warnings
|
||||
import numpy as np
|
||||
|
||||
warnings.filterwarnings("ignore", category=RuntimeWarning, module="pyqtgraph")
|
||||
@@ -54,12 +54,6 @@ try:
|
||||
except ImportError:
|
||||
HAS_SD = False
|
||||
|
||||
try:
|
||||
import soundfile as sf
|
||||
HAS_SF = True
|
||||
except ImportError:
|
||||
HAS_SF = False
|
||||
|
||||
from sync_audio import load_wav
|
||||
from waveform_cache import cached_load_wav
|
||||
|
||||
|
||||
Reference in new issue
Block a user