Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
302e4bb
1
Parent(s):
74f9732
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ scheduler=EulerAncestralDiscreteScheduler.from_pretrained(model_id, subfolder="s
|
|
23 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
24 |
model_id,
|
25 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
|
|
26 |
use_auth_token=auth_token)
|
27 |
|
28 |
#pipe = AutoPipelineForText2Image.from_pretrained(
|
|
|
23 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
24 |
model_id,
|
25 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
26 |
+
scheduler=scheduler,
|
27 |
use_auth_token=auth_token)
|
28 |
|
29 |
#pipe = AutoPipelineForText2Image.from_pretrained(
|