Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
632edea
1
Parent(s):
4353309
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
model_id = "aipicasso/emi-2"
|
9 |
token=os.environ["TOKEN"]
|
10 |
|
11 |
-
scheduler = EulerAncestralDiscreteScheduler.
|
12 |
pipe_normal = StableDiffusionXLPipeline.from_pretrained(model_id, scheduler=scheduler, torch_dtype=torch.bfloat16,token=token)
|
13 |
pipe_normal.to("cuda")
|
14 |
|
|
|
8 |
model_id = "aipicasso/emi-2"
|
9 |
token=os.environ["TOKEN"]
|
10 |
|
11 |
+
scheduler = EulerAncestralDiscreteScheduler.from_pretrained(model_id,token=token)
|
12 |
pipe_normal = StableDiffusionXLPipeline.from_pretrained(model_id, scheduler=scheduler, torch_dtype=torch.bfloat16,token=token)
|
13 |
pipe_normal.to("cuda")
|
14 |
|