Spaces:
Running
Running
ver 1.9.8
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def closest_speedup_factor(factor, allowed_factors):
|
|
178 |
def generate_audio_with_pause(srt_file_path):
|
179 |
subtitles = read_srt(srt_file_path)
|
180 |
audio_clips = []
|
181 |
-
allowed_factors = [
|
182 |
|
183 |
for i, (start_time, end_time, text) in enumerate(subtitles):
|
184 |
# Generate initial audio
|
|
|
178 |
def generate_audio_with_pause(srt_file_path):
|
179 |
subtitles = read_srt(srt_file_path)
|
180 |
audio_clips = []
|
181 |
+
allowed_factors = [1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0]
|
182 |
|
183 |
for i, (start_time, end_time, text) in enumerate(subtitles):
|
184 |
# Generate initial audio
|