Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -624,11 +624,17 @@ class WhisperBase(ABC):
|
|
624 |
for temp_line in temp_inputdata:
|
625 |
temp_line_list = []
|
626 |
|
|
|
|
|
627 |
# Add columns to match Dataframe
|
628 |
if timestamps==True and diarize==False:
|
629 |
-
|
|
|
|
|
630 |
if timestamps==False and diarize==True:
|
631 |
-
|
|
|
|
|
632 |
|
633 |
temp_line_items = temp_line.split("#TAB#")
|
634 |
for temp_line_item in temp_line_items:
|
|
|
624 |
for temp_line in temp_inputdata:
|
625 |
temp_line_list = []
|
626 |
|
627 |
+
print("test1:")
|
628 |
+
print(temp_line_items)
|
629 |
# Add columns to match Dataframe
|
630 |
if timestamps==True and diarize==False:
|
631 |
+
temp_line.insert(1,"#TAB#")
|
632 |
+
print("test2:")
|
633 |
+
print(temp_line_items)
|
634 |
if timestamps==False and diarize==True:
|
635 |
+
temp_line.insert(0,"#TAB#")
|
636 |
+
print("test3:")
|
637 |
+
print(temp_line_items)
|
638 |
|
639 |
temp_line_items = temp_line.split("#TAB#")
|
640 |
for temp_line_item in temp_line_items:
|