Masrkai commited on
Commit
408034b
1 Parent(s): b55c638

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ from diffusers.utils import export_to_gif
4
 
5
 
6
  ckpt_id = "openai/shap-e-xs"
7
- pipe = ShapEPipeline.from_pretrained(repo).to("cpu")
 
8
 
9
 
10
  guidance_scale = 15.0
 
4
 
5
 
6
  ckpt_id = "openai/shap-e-xs"
7
+ device = torch.device("cpu")
8
+ pipe = ShapEPipeline.from_pretrained(ckpt_id).to(device)
9
 
10
 
11
  guidance_scale = 15.0