Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ pipe.enable_model_cpu_offload()
|
|
| 10 |
def infer(prompt):
|
| 11 |
negative_prompt = "text, watermark, copyright, blurry, nsfw"
|
| 12 |
video_frames = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=40, height=320, width=576, num_frames=24).frames
|
|
|
|
| 13 |
video_path = export_to_video(video_frames)
|
| 14 |
print(video_path)
|
| 15 |
return video_path
|
|
|
|
| 10 |
def infer(prompt):
|
| 11 |
negative_prompt = "text, watermark, copyright, blurry, nsfw"
|
| 12 |
video_frames = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=40, height=320, width=576, num_frames=24).frames
|
| 13 |
+
print(f"VIDEO FRAMES: {video_frames}")
|
| 14 |
video_path = export_to_video(video_frames)
|
| 15 |
print(video_path)
|
| 16 |
return video_path
|