sab commited on
Commit
c2744cb
1 Parent(s): f50d492

num_frames=24

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -26,8 +26,9 @@ pipe.enable_vae_tiling()
26
  def generate_video(prompt):
27
  # Generare i frame del video
28
  print("Generare i frame del video...")
29
- frames = pipe(prompt, num_frames=84).frames[0]
30
-
 
31
  # Esportare i frame come video
32
  video_path = "mochi.mp4"
33
  export_to_video(frames, video_path, fps=30)
 
26
  def generate_video(prompt):
27
  # Generare i frame del video
28
  print("Generare i frame del video...")
29
+ #frames = pipe(prompt, num_frames=84).frames[0]
30
+ frames = pipe(prompt, num_frames=24).frames[0]
31
+
32
  # Esportare i frame come video
33
  video_path = "mochi.mp4"
34
  export_to_video(frames, video_path, fps=30)