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