Update app.py
Browse files
app.py
CHANGED
|
@@ -157,6 +157,7 @@ def generate_video(prompt, first_image_path, last_image_path, duration_seconds,
|
|
| 157 |
vaedecode_8 = vaedecode.decode(samples=get_value_at_index(ksampleradvanced_102, 0), vae=get_value_at_index(vaeloader_39, 0))
|
| 158 |
createvideo_104 = createvideo.create_video(fps=16, images=get_value_at_index(vaedecode_8, 0))
|
| 159 |
savevideo_103 = savevideo.save_video(filename_prefix="ComfyUI_Video", format="mp4", codec="h264", video=get_value_at_index(createvideo_104, 0))
|
|
|
|
| 160 |
print(savevideo_103)
|
| 161 |
return f"output/{savevideo_103['ui']['videos'][0]['filename']}"
|
| 162 |
|
|
|
|
| 157 |
vaedecode_8 = vaedecode.decode(samples=get_value_at_index(ksampleradvanced_102, 0), vae=get_value_at_index(vaeloader_39, 0))
|
| 158 |
createvideo_104 = createvideo.create_video(fps=16, images=get_value_at_index(vaedecode_8, 0))
|
| 159 |
savevideo_103 = savevideo.save_video(filename_prefix="ComfyUI_Video", format="mp4", codec="h264", video=get_value_at_index(createvideo_104, 0))
|
| 160 |
+
gr.Info(savevideo_103)
|
| 161 |
print(savevideo_103)
|
| 162 |
return f"output/{savevideo_103['ui']['videos'][0]['filename']}"
|
| 163 |
|