480p GPU window 330s
Browse files
app.py
CHANGED
|
@@ -362,7 +362,7 @@ def _extract_vocal(src: str, audio_hash: str) -> str:
|
|
| 362 |
|
| 363 |
def _check_duration(image_path=None, audio_path=None, prompt=None, resolution="480p", *args, **kwargs):
|
| 364 |
# Requested GPU seconds (xlarge = 2x quota). Billing is the effective runtime; tune from [timing] logs.
|
| 365 |
-
return 420 if resolution == "720p" else
|
| 366 |
|
| 367 |
|
| 368 |
def _prepare_audio_embedding(audio_path: str, vocal_mode: str, num_frames: int, save_fps: int, audio_stride: int, progress):
|
|
|
|
| 362 |
|
| 363 |
def _check_duration(image_path=None, audio_path=None, prompt=None, resolution="480p", *args, **kwargs):
|
| 364 |
# Requested GPU seconds (xlarge = 2x quota). Billing is the effective runtime; tune from [timing] logs.
|
| 365 |
+
return 420 if resolution == "720p" else 330
|
| 366 |
|
| 367 |
|
| 368 |
def _prepare_audio_embedding(audio_path: str, vocal_mode: str, num_frames: int, save_fps: int, audio_stride: int, progress):
|