bariscal commited on
Commit
d83c678
·
1 Parent(s): ae2a1df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -6,6 +6,9 @@ from diffusers import StableDiffusionPipeline
6
  #gr.Interface.load("models/bariscal/cbst_style")
7
  #pipe = StableDiffusionPipeline.from_pretrained("bariscal/cbst_style", safety_checker=None) #, torch_dtype=torch.float16
8
 
 
 
 
9
 
10
  pipe = StableDiffusionPipeline.from_pretrained("bariscal/cbst_style", safety_checker=None)
11
 
 
6
  #gr.Interface.load("models/bariscal/cbst_style")
7
  #pipe = StableDiffusionPipeline.from_pretrained("bariscal/cbst_style", safety_checker=None) #, torch_dtype=torch.float16
8
 
9
+ # Create a PyTorch generator object
10
+ generator = torch.Generator(device=device)
11
+
12
 
13
  pipe = StableDiffusionPipeline.from_pretrained("bariscal/cbst_style", safety_checker=None)
14