SecLoTus commited on
Commit
426d3b4
·
verified ·
1 Parent(s): 295ddad

480p GPU window 330s

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 240
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):