Spaces:
Sleeping
Sleeping
Update generate_transcript.py
Browse files- generate_transcript.py +1 -1
generate_transcript.py
CHANGED
@@ -160,7 +160,7 @@ class TranscriptProcessor:
|
|
160 |
return self.transcript_output_path
|
161 |
|
162 |
def extract_tuple(self,text):
|
163 |
-
match = re.search(r'\[.*\]', text)
|
164 |
if match:
|
165 |
return match.group(0)
|
166 |
return None
|
|
|
160 |
return self.transcript_output_path
|
161 |
|
162 |
def extract_tuple(self,text):
|
163 |
+
match = re.search(r'\[.*\]', text, re.DOTALL)
|
164 |
if match:
|
165 |
return match.group(0)
|
166 |
return None
|