Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def turn_into_video(input_images, output_images, prompt, progress=gr.Progress(tr
|
|
| 60 |
|
| 61 |
progress(0.35, desc="Generating video...")
|
| 62 |
|
| 63 |
-
|
| 64 |
start_image_pil=handle_file(tmp_start.name),
|
| 65 |
end_image_pil=handle_file(tmp_end.name),
|
| 66 |
prompt=prompt or "smooth cinematic transition",
|
|
@@ -68,8 +68,8 @@ def turn_into_video(input_images, output_images, prompt, progress=gr.Progress(tr
|
|
| 68 |
)
|
| 69 |
|
| 70 |
progress(0.95, desc="Finalizing...")
|
| 71 |
-
|
| 72 |
-
return
|
| 73 |
|
| 74 |
|
| 75 |
|
|
|
|
| 60 |
|
| 61 |
progress(0.35, desc="Generating video...")
|
| 62 |
|
| 63 |
+
video_path, seed = client.predict(
|
| 64 |
start_image_pil=handle_file(tmp_start.name),
|
| 65 |
end_image_pil=handle_file(tmp_end.name),
|
| 66 |
prompt=prompt or "smooth cinematic transition",
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
progress(0.95, desc="Finalizing...")
|
| 71 |
+
print(video_path)
|
| 72 |
+
return video_path
|
| 73 |
|
| 74 |
|
| 75 |
|