Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ def segments(example):
|
|
27 |
while segment_i < len(example["transcript_segments"]["seek"]) and end > example["transcript_segments"]["seek"][segment_i] * 0.01:
|
28 |
text += example["transcript_segments"]["text"][segment_i]
|
29 |
segment_i += 1
|
|
|
30 |
return text
|
31 |
|
32 |
def create_interleaved_html(text, slides, scale=0.4, max_width=600):
|
|
|
27 |
while segment_i < len(example["transcript_segments"]["seek"]) and end > example["transcript_segments"]["seek"][segment_i] * 0.01:
|
28 |
text += example["transcript_segments"]["text"][segment_i]
|
29 |
segment_i += 1
|
30 |
+
text += example["transcript"][segment_i:]
|
31 |
return text
|
32 |
|
33 |
def create_interleaved_html(text, slides, scale=0.4, max_width=600):
|