ppbrown commited on
Commit
c6102d3
·
verified ·
1 Parent(s): b870746

Upload test-one.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. test-one.py +1 -3
test-one.py CHANGED
@@ -8,9 +8,7 @@ from diffusers import StableDiffusionXLPipeline
8
  base_model: str = "opendiffusionai/sdxlone"
9
 
10
  pipe = StableDiffusionXLPipeline.from_pretrained(
11
- base_model,
12
- tokenizer_2=None,
13
- text_encoder_2=None)
14
 
15
  device = torch.device("cuda")
16
  pipe = pipe.to(device)
 
8
  base_model: str = "opendiffusionai/sdxlone"
9
 
10
  pipe = StableDiffusionXLPipeline.from_pretrained(
11
+ base_model)
 
 
12
 
13
  device = torch.device("cuda")
14
  pipe = pipe.to(device)