RohitGandikota commited on
Commit
9bb5001
β€’
1 Parent(s): 8c8d68c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ class Demo:
35
  self.generating = False
36
  self.device = 'cuda'
37
  self.weight_dtype = torch.float16
38
- self.pipe = StableDiffusionXLPipeline.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=weight_dtype)
39
 
40
  with gr.Blocks() as demo:
41
  self.layout()
 
35
  self.generating = False
36
  self.device = 'cuda'
37
  self.weight_dtype = torch.float16
38
+ self.pipe = StableDiffusionXLPipeline.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=self.weight_dtype)
39
 
40
  with gr.Blocks() as demo:
41
  self.layout()