Update to fix code.

#9
by norihiro - opened
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -46,7 +46,7 @@ from diffusers.utils import export_to_gif
46
 
47
 
48
  ckpt_id = "openai/shap-e"
49
- pipe = ShapEPipeline.from_pretrained(repo).to("cuda")
50
 
51
 
52
  guidance_scale = 15.0
@@ -55,10 +55,10 @@ images = pipe(
55
  prompt,
56
  guidance_scale=guidance_scale,
57
  num_inference_steps=64,
58
- size=256,
59
  ).images
60
 
61
- gif_path = export_to_gif(images, "shark_3d.gif")
62
  ```
63
 
64
  ## Results
 
46
 
47
 
48
  ckpt_id = "openai/shap-e"
49
+ pipe = ShapEPipeline.from_pretrained(ckpt_id).to("cuda")
50
 
51
 
52
  guidance_scale = 15.0
 
55
  prompt,
56
  guidance_scale=guidance_scale,
57
  num_inference_steps=64,
58
+ frame_size=256,
59
  ).images
60
 
61
+ gif_path = export_to_gif(images[0], "shark_3d.gif")
62
  ```
63
 
64
  ## Results