Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudAshraf97 committed Nov 13, 2024
1 parent 8707b6b commit ed85116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion faster_whisper/feature_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def stft(
# Input checks
if not np.issubdtype(input_array.dtype, np.floating) and not input_is_complex:
raise ValueError(
f"stft: expected an array of floating point or complex values, got {input_array.dtype}"
"stft: expected an array of floating point or complex values,"
f" got {input_array.dtype}"
)

if input_array.ndim > 2 or input_array.ndim < 1:
Expand Down

0 comments on commit ed85116

Please sign in to comment.