Spaces:
Runtime error
Runtime error
Number changes
#314
by
Orionwut
- opened
app.py
CHANGED
@@ -10,7 +10,7 @@ pipe.enable_model_cpu_offload()
|
|
10 |
|
11 |
def infer(prompt):
|
12 |
negative_prompt = "text, watermark, copyright, blurry, nsfw"
|
13 |
-
video_frames = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=
|
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 |
negative_prompt = "text, watermark, copyright, blurry, nsfw"
|
13 |
+
video_frames = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=50, height=500, width=1000, num_frames=30).frames
|
14 |
video_path = export_to_video(video_frames)
|
15 |
print(video_path)
|
16 |
return video_path, gr.Group.update(visible=True)
|