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