Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
2d7c34b
1
Parent(s):
c42a6b8
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.from_pretrained(model_id,
|
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,subfolder="scheduler",token=token)
|
12 |
pipe_normal = StableDiffusionXLPipeline.from_pretrained(model_id, scheduler=scheduler, torch_dtype=torch.bfloat16,token=token)
|
13 |
pipe_normal.to("cuda")
|
14 |
|