Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import numpy as np
|
|
10 |
import os
|
11 |
from PIL import Image
|
12 |
|
13 |
-
def estimate_chunk_durations(text, words_per_second=2.5, min_sec=5, max_sec=
|
14 |
print("Estimating chunk durations...")
|
15 |
words = text.split()
|
16 |
chunks = []
|
|
|
10 |
import os
|
11 |
from PIL import Image
|
12 |
|
13 |
+
def estimate_chunk_durations(text, words_per_second=2.5, min_sec=5, max_sec=7):
|
14 |
print("Estimating chunk durations...")
|
15 |
words = text.split()
|
16 |
chunks = []
|