Spaces:
Sleeping
Sleeping
Eason Lu
commited on
Commit
·
c1ba7b0
1
Parent(s):
9e3f79b
fix time stamp bug
Browse filesFormer-commit-id: 6cc57273ffcce9ef123169cdf20f8517e38f050f
SRT.py
CHANGED
@@ -80,7 +80,7 @@ class SRT_segment(object):
|
|
80 |
result.end_time_str = other.end_time_str
|
81 |
result.end = other.end
|
82 |
result.end_ms = other.end_ms
|
83 |
-
result.duration = f"{self.start_time_str} --> {
|
84 |
return result
|
85 |
|
86 |
def remove_trans_punc(self):
|
|
|
80 |
result.end_time_str = other.end_time_str
|
81 |
result.end = other.end
|
82 |
result.end_ms = other.end_ms
|
83 |
+
result.duration = f"{self.start_time_str} --> {result.end_time_str}"
|
84 |
return result
|
85 |
|
86 |
def remove_trans_punc(self):
|