besarismaili commited on
Commit
3d48efa
·
1 Parent(s): c6eb505
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def anim(f_promt, s_promt, stability_key):
46
  # Render each frame of animation
47
  for idx, frame in enumerate(animator.render()):
48
  file_path = f"frame_{idx:05d}.png"
49
- frame.save(".output/"+file_path)
50
  yield file_path # Yield the path to the generated frame
51
 
52
  with gr.Blocks() as demo:
 
46
  # Render each frame of animation
47
  for idx, frame in enumerate(animator.render()):
48
  file_path = f"frame_{idx:05d}.png"
49
+ frame.save("./output/"+file_path)
50
  yield file_path # Yield the path to the generated frame
51
 
52
  with gr.Blocks() as demo: