Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,10 @@ def main():
|
|
95 |
state.youtube_url, state.chunk_duration_ms, state.pad_duration_ms
|
96 |
)
|
97 |
state.chunks_taken = 0
|
98 |
-
|
|
|
|
|
|
|
99 |
|
100 |
player = st_player(state.youtube_url, **player_options, key="youtube_player")
|
101 |
|
|
|
95 |
state.youtube_url, state.chunk_duration_ms, state.pad_duration_ms
|
96 |
)
|
97 |
state.chunks_taken = 0
|
98 |
+
|
99 |
+
|
100 |
+
state.lines = deque([], maxlen=100) # limit to the last n lines of subs
|
101 |
+
|
102 |
|
103 |
player = st_player(state.youtube_url, **player_options, key="youtube_player")
|
104 |
|