Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -318,9 +318,7 @@ def generate_video(
|
|
| 318 |
# Format: (image_path, frame_idx, strength)
|
| 319 |
images = [(str(temp_image_path), 0, 1.0)]
|
| 320 |
|
| 321 |
-
|
| 322 |
-
print(f"Encoding prompt: {prompt}")
|
| 323 |
-
|
| 324 |
# Prepare image for upload if it exists
|
| 325 |
image_input = None
|
| 326 |
|
|
@@ -355,6 +353,7 @@ def generate_video(
|
|
| 355 |
video_context=video_context,
|
| 356 |
audio_context=audio_context,
|
| 357 |
)
|
|
|
|
| 358 |
|
| 359 |
return str(output_path), current_seed
|
| 360 |
|
|
|
|
| 318 |
# Format: (image_path, frame_idx, strength)
|
| 319 |
images = [(str(temp_image_path), 0, 1.0)]
|
| 320 |
|
| 321 |
+
|
|
|
|
|
|
|
| 322 |
# Prepare image for upload if it exists
|
| 323 |
image_input = None
|
| 324 |
|
|
|
|
| 353 |
video_context=video_context,
|
| 354 |
audio_context=audio_context,
|
| 355 |
)
|
| 356 |
+
print("successful generation")
|
| 357 |
|
| 358 |
return str(output_path), current_seed
|
| 359 |
|