Spaces:
Runtime error
Runtime error
RohitGandikota
commited on
Commit
β’
9bb5001
1
Parent(s):
8c8d68c
Update app.py
Browse files
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()
|