Rthur2003 commited on
Commit
d78b84e
·
1 Parent(s): b018523

fix: add docstring to Wav2Vec2DetectorService constructor for clarity

Browse files
Files changed (1) hide show
  1. app/services/wav2vec2_detector.py +1 -0
app/services/wav2vec2_detector.py CHANGED
@@ -48,6 +48,7 @@ class Wav2Vec2DetectorService:
48
  """
49
 
50
  def __init__(self, model_path: Optional[Path] = None) -> None:
 
51
  self._model = None
52
  self._device = None
53
  self._initialized = False
 
48
  """
49
 
50
  def __init__(self, model_path: Optional[Path] = None) -> None:
51
+ """Initialize wav2vec2 detector with optional model path."""
52
  self._model = None
53
  self._device = None
54
  self._initialized = False