aakash0563 commited on
Commit
09bf68a
1 Parent(s): 3eb6ac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ pipe.enable_vae_slicing()
19
  def Generate_video(prompt, video_duration_seconds):
20
  num_frames = video_duration_seconds * 10
21
  video_frames = pipe(prompt=prompt, negative_prompt="low quality",
22
- num_inference_steps=25, num_frames=num_frames, device=device).frames
23
  video_path = export_to_video(video_frames) # Assuming you have this function defined
24
  return video_path
25
 
 
19
  def Generate_video(prompt, video_duration_seconds):
20
  num_frames = video_duration_seconds * 10
21
  video_frames = pipe(prompt=prompt, negative_prompt="low quality",
22
+ num_inference_steps=25, num_frames=num_frames).frames
23
  video_path = export_to_video(video_frames) # Assuming you have this function defined
24
  return video_path
25