Spaces:
Running on Zero
Running on Zero
Size the GPU reservation by measured cost.
Browse files
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 |
|