Orionwut commited on
Commit
3cea9e8
1 Parent(s): 1ac3c9a

Number changes

Browse files

More inference steps, i have ocd. And higher resolution.
If the resolution change causes any time problems, make it smaller, but still a good resolution.

Files changed (1) hide show
  1. app.py +1 -1
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=40, height=320, width=576, num_frames=24).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
  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)