alexnasa commited on
Commit
22f8394
·
verified ·
1 Parent(s): b281518

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -116,12 +116,12 @@ def get_duration(prompt_text, steps, image_file, audio_file_path, max_duration,
116
 
117
  def calculate_required_time(steps, max_duration):
118
 
119
- warmup_s = 60
120
 
121
  max_duration_duration_mapping = {
122
- 20: 8,
123
- 45: 8,
124
- 70: 12,
125
  95: 20,
126
  }
127
  each_step_s = max_duration_duration_mapping[max_duration]
 
116
 
117
  def calculate_required_time(steps, max_duration):
118
 
119
+ warmup_s = 50
120
 
121
  max_duration_duration_mapping = {
122
+ 20: 7,
123
+ 45: 7,
124
+ 70: 13,
125
  95: 20,
126
  }
127
  each_step_s = max_duration_duration_mapping[max_duration]