huoju multimodalart HF staff commited on
Commit
52bdc56
1 Parent(s): be0bcaf

change diffusers repo (#4)

Browse files

- change diffusers repo (d951a37706292546eea770a487b739cb576fd38f)


Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,9 +8,9 @@ import spaces
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
  dtype = torch.float16
10
 
11
- repo = "stabilityai/stable-diffusion-3-medium"
12
 
13
- pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16, revision="refs/pr/26").to(device)
14
 
15
  MAX_SEED = np.iinfo(np.int32).max
16
  MAX_IMAGE_SIZE = 1344
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
  dtype = torch.float16
10
 
11
+ repo = "stabilityai/stable-diffusion-3-medium-diffusers"
12
 
13
+ pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16).to(device)
14
 
15
  MAX_SEED = np.iinfo(np.int32).max
16
  MAX_IMAGE_SIZE = 1344