Spaces:
Runtime error
Runtime error
update app
Browse files
app.py
CHANGED
@@ -10,9 +10,8 @@ import time
|
|
10 |
|
11 |
model_id = "dicoo_model"
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float)
|
16 |
|
17 |
def predict(prompt, steps=25, seed=42, guidance_scale=7.5):
|
18 |
# cpu info
|
|
|
10 |
|
11 |
model_id = "dicoo_model"
|
12 |
|
13 |
+
dpm = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
|
14 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=dpm, torch_dtype=torch.float)
|
|
|
15 |
|
16 |
def predict(prompt, steps=25, seed=42, guidance_scale=7.5):
|
17 |
# cpu info
|