besarismaili commited on
Commit
867a629
·
1 Parent(s): 1ac358c
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,12 +109,12 @@ def anim(f_promt, s_promt, stability_key, cadence_interp, width ,height ,sampler
109
  out_dir="video_01"
110
  )
111
  for _ in tqdm(animator.render(), total=args.max_frames):
112
- pass
113
 
114
  video_path = os.path.join(animator.out_dir, "video.mp4")
115
  create_video_from_frames(animator.out_dir, video_path, fps=24)
116
 
117
- return video_path, print(args)
118
 
119
  with gr.Blocks() as demo:
120
  gr.Markdown("Stability Animation 1")
 
109
  out_dir="video_01"
110
  )
111
  for _ in tqdm(animator.render(), total=args.max_frames):
112
+ pass
113
 
114
  video_path = os.path.join(animator.out_dir, "video.mp4")
115
  create_video_from_frames(animator.out_dir, video_path, fps=24)
116
 
117
+ return video_path
118
 
119
  with gr.Blocks() as demo:
120
  gr.Markdown("Stability Animation 1")