multimodalart HF Staff commited on
Commit
e584055
·
verified ·
1 Parent(s): cec9c22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -157,9 +157,8 @@ 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
- gr.Info(savevideo_103)
161
- print(savevideo_103)
162
- return f"output/{savevideo_103['ui']['videos'][0]['filename']}"
163
 
164
  # --- Gradio Interface ---
165
  with gr.Blocks() as app:
 
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("** DEBUG ** ", savevideo_103)
161
+ return f"output/{savevideo_103['ui']['images'][0]['filename']}"
 
162
 
163
  # --- Gradio Interface ---
164
  with gr.Blocks() as app: