alexnasa commited on
Commit
273f529
·
verified ·
1 Parent(s): fa34c9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -891,7 +891,10 @@ def generate_video(
891
  gr.Info("15s not avaiable when a LoRA is activated, reducing to 10s for this generation")
892
  duration = 10
893
 
894
- print(f'generating with duration:{duration} and LoRA:{camera_lora} in {width}x{height}')
 
 
 
895
 
896
  # Randomize seed if checkbox is enabled
897
  current_seed = random.randint(0, MAX_SEED) if randomize_seed else int(seed)
 
891
  gr.Info("15s not avaiable when a LoRA is activated, reducing to 10s for this generation")
892
  duration = 10
893
 
894
+ if audio_path is None:
895
+ print(f'generating with duration:{duration} and LoRA:{camera_lora} in {width}x{height}')
896
+ else:
897
+ print(f'generating with duration:{duration} and audio in {width}x{height}')
898
 
899
  # Randomize seed if checkbox is enabled
900
  current_seed = random.randint(0, MAX_SEED) if randomize_seed else int(seed)