Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -416,7 +416,7 @@ class WhisperBase(ABC):
|
|
416 |
# Add filename as first column (first line only)
|
417 |
line_count = 0
|
418 |
result_fixed = ""
|
419 |
-
temp_lines =
|
420 |
for temp_line in temp_lines:
|
421 |
line_count += 1
|
422 |
if line_count==1:
|
|
|
416 |
# Add filename as first column (first line only)
|
417 |
line_count = 0
|
418 |
result_fixed = ""
|
419 |
+
temp_lines = info["subtitle"].splitlines()
|
420 |
for temp_line in temp_lines:
|
421 |
line_count += 1
|
422 |
if line_count==1:
|