Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -626,8 +626,10 @@ class WhisperBase(ABC):
|
|
626 |
temp_line_items = temp_line.split("#TAB#")
|
627 |
|
628 |
# Add columns to match Dataframe
|
629 |
-
|
630 |
if timestamps==False and diarize==True: temp_line_items.insert(0,"")
|
|
|
|
|
631 |
|
632 |
for temp_line_item in temp_line_items:
|
633 |
temp_line_list.append(temp_line_item)
|
|
|
626 |
temp_line_items = temp_line.split("#TAB#")
|
627 |
|
628 |
# Add columns to match Dataframe
|
629 |
+
print(temp_line_items)
|
630 |
if timestamps==False and diarize==True: temp_line_items.insert(0,"")
|
631 |
+
if timestamps==True and diarize==False: temp_line_items.insert(1,"")
|
632 |
+
print(temp_line_items)
|
633 |
|
634 |
for temp_line_item in temp_line_items:
|
635 |
temp_line_list.append(temp_line_item)
|