Spaces:
Runtime error
Runtime error
AlbertoFH98
commited on
Commit
·
cc140a5
1
Parent(s):
ff71933
Update utils.py
Browse files
utils.py
CHANGED
@@ -254,7 +254,7 @@ def time_to_seconds(time_str):
|
|
254 |
return int((hours * 3600) + (minutes * 60) + seconds)
|
255 |
|
256 |
# -- Extract seconds from transcription
|
257 |
-
def add_hyperlink_and_convert_to_seconds(text
|
258 |
time_pattern = r'(\d{2}:\d{2}:\d{2}(?:.\d{6})?)'
|
259 |
|
260 |
def get_seconds(match):
|
|
|
254 |
return int((hours * 3600) + (minutes * 60) + seconds)
|
255 |
|
256 |
# -- Extract seconds from transcription
|
257 |
+
def add_hyperlink_and_convert_to_seconds(text):
|
258 |
time_pattern = r'(\d{2}:\d{2}:\d{2}(?:.\d{6})?)'
|
259 |
|
260 |
def get_seconds(match):
|