Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
7f93a8e
1
Parent(s):
e2aeafe
Update app.py
Browse files
app.py
CHANGED
@@ -15,12 +15,11 @@ from safetensors.torch import load_file
|
|
15 |
model_id = 'aipicasso/emi-stable'
|
16 |
auth_token=os.environ["ACCESS_TOKEN"]
|
17 |
|
18 |
-
scheduler=DPMSolverMultistepScheduler()
|
19 |
|
20 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
21 |
model_id,
|
22 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
23 |
-
scheduler=scheduler,
|
24 |
use_auth_token=auth_token)
|
25 |
|
26 |
|
|
|
15 |
model_id = 'aipicasso/emi-stable'
|
16 |
auth_token=os.environ["ACCESS_TOKEN"]
|
17 |
|
18 |
+
#scheduler=DPMSolverMultistepScheduler()
|
19 |
|
20 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
21 |
model_id,
|
22 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
|
|
23 |
use_auth_token=auth_token)
|
24 |
|
25 |
|