qqwjq1981 commited on
Commit
81b16c8
·
verified ·
1 Parent(s): 2b67951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -366,9 +366,9 @@ def truncated_linear(x):
366
  if x < 15:
367
  return 1
368
  elif x > 25:
369
- return 1.25
370
  else:
371
- slope = (1.25 - 1) / (25 - 15)
372
  return 1 + slope * (x - 15)
373
 
374
  def calculate_speed(text, desired_duration):
 
366
  if x < 15:
367
  return 1
368
  elif x > 25:
369
+ return 1.3
370
  else:
371
+ slope = (1.3 - 1) / (25 - 15)
372
  return 1 + slope * (x - 15)
373
 
374
  def calculate_speed(text, desired_duration):