jbilcke-hf HF staff commited on
Commit
8f27515
1 Parent(s): 3906138

Update base/app.py

Browse files
Files changed (1) hide show
  1. base/app.py +1 -1
base/app.py CHANGED
@@ -76,7 +76,7 @@ def generate_video(secret_token, prompt):
76
 
77
  video_path = args.output_folder + prompt[0:30].replace(' ', '_') + '-'+str(seed_inp)+'-'+str(ddim_steps)+'-'+str(cfg)+ '-.mp4'
78
 
79
- torchvision.io.write_video(outputPath, videos[0], fps=8)
80
 
81
  # Read the content of the video file and encode it to base64
82
  with open(video_path, "rb") as video_file:
 
76
 
77
  video_path = args.output_folder + prompt[0:30].replace(' ', '_') + '-'+str(seed_inp)+'-'+str(ddim_steps)+'-'+str(cfg)+ '-.mp4'
78
 
79
+ torchvision.io.write_video(video_path, videos[0], fps=8)
80
 
81
  # Read the content of the video file and encode it to base64
82
  with open(video_path, "rb") as video_file: