Spaces:
Paused
Paused
Update app.py
Browse files
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:
|