besarismaili commited on
Commit
b96d189
·
1 Parent(s): fcdcfa5
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -46,11 +46,8 @@ def anim(f_promt, s_promt, stability_key):
46
  repo_dir = os.getenv('HF_COMET_ROOT_PATH', '/')
47
 
48
  # Define output folder path
49
- output_dir = os.path.join(repo_dir, "Outputs")
50
 
51
- if not os.path.exists(output_dir):
52
- os.makedirs(output_dir)
53
- print("Created folder at:"+output_dir)
54
  # Render each frame of animation
55
  for idx, frame in enumerate(animator.render()):
56
  file_path = os.path.join(output_dir, f"frame_{idx:05d}.png")
 
46
  repo_dir = os.getenv('HF_COMET_ROOT_PATH', '/')
47
 
48
  # Define output folder path
49
+ output_dir = os.path.join(repo_dir, "output")
50
 
 
 
 
51
  # Render each frame of animation
52
  for idx, frame in enumerate(animator.render()):
53
  file_path = os.path.join(output_dir, f"frame_{idx:05d}.png")