Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
#78
by
crystalwizard
- opened
app.py
CHANGED
@@ -10,7 +10,7 @@ pipe.enable_model_cpu_offload()
|
|
10 |
|
11 |
def infer(prompt):
|
12 |
#prompt = "Darth Vader is surfing on waves"
|
13 |
-
video_frames = pipe(prompt, num_inference_steps=40, height=320, width=576, num_frames=
|
14 |
video_path = export_to_video(video_frames)
|
15 |
print(video_path)
|
16 |
return video_path, gr.Group.update(visible=True)
|
|
|
10 |
|
11 |
def infer(prompt):
|
12 |
#prompt = "Darth Vader is surfing on waves"
|
13 |
+
video_frames = pipe(prompt, num_inference_steps=40, height=320, width=576, num_frames=48).frames
|
14 |
video_path = export_to_video(video_frames)
|
15 |
print(video_path)
|
16 |
return video_path, gr.Group.update(visible=True)
|