Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def infer(prompt):
|
|
| 21 |
negative_prompt = "text, watermark, copyright, blurry, nsfw"
|
| 22 |
video_frames = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=40, height=320, width=576, num_frames=24).frames[0]
|
| 23 |
|
| 24 |
-
video_path = export_to_video(video_frames)
|
| 25 |
print(video_path)
|
| 26 |
return video_path
|
| 27 |
|
|
|
|
| 21 |
negative_prompt = "text, watermark, copyright, blurry, nsfw"
|
| 22 |
video_frames = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=40, height=320, width=576, num_frames=24).frames[0]
|
| 23 |
|
| 24 |
+
video_path = export_to_video(video_frames, 12)
|
| 25 |
print(video_path)
|
| 26 |
return video_path
|
| 27 |
|