Spaces:
Runtime error
Runtime error
aakash0563
commited on
Commit
•
09bf68a
1
Parent(s):
3eb6ac8
Update app.py
Browse files
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
|
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 |
|