alexnasa commited on
Commit
7e1323a
·
verified ·
1 Parent(s): d900911

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -888,8 +888,8 @@ def generate_video(
888
  - If an input image is provided, it is temporarily saved to disk for processing.
889
  """
890
 
891
- if camera_lora != "No LoRA" and duration == 15:
892
- gr.Info("15s not avaiable when a LoRA is activated, reducing to 10s for this generation")
893
  duration = 10
894
 
895
  if audio_path is None:
 
888
  - If an input image is provided, it is temporarily saved to disk for processing.
889
  """
890
 
891
+ if (camera_lora != "No LoRA" or audio_path is not None) and duration == 15:
892
+ gr.Info("15s not avaiable when a LoRA or lipsync is activated, reducing to 10s for this generation")
893
  duration = 10
894
 
895
  if audio_path is None: