latuan commited on
Commit
0b2b657
1 Parent(s): e898835
Files changed (1) hide show
  1. app.py +1 -1
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 = [0.5, 0.75, 1.0, 1.25, 1.5, 2.0]
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