harp-dev commited on
Commit
2db66fd
·
verified ·
1 Parent(s): 3aba11e

Size the GPU reservation by measured cost.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,7 +135,7 @@ MAX_INPUT_SECONDS = 360
135
 
136
 
137
  def gpu_seconds(original_path, reference_path, normalize_loudness, target_lufs):
138
- # Measured at about 18 s for a 30 s mix, building both models included, padded
139
  return 15 + 0.5 * sf.info(original_path).duration
140
 
141
 
 
135
 
136
 
137
  def gpu_seconds(original_path, reference_path, normalize_loudness, target_lufs):
138
+ # Measured at about 18 s for a 30 s mix and 27 s for 60 s, building both models included, padded
139
  return 15 + 0.5 * sf.info(original_path).duration
140
 
141