Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
•
fc76896
1
Parent(s):
716f49f
improve
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ class Model:
|
|
24 |
self.pipe_t2i = StableDiffusionPipeline.from_pretrained(
|
25 |
path, torch_dtype=torch.float16
|
26 |
)
|
27 |
-
self.
|
28 |
self.pipe_t2i.scheduler.config
|
29 |
)
|
30 |
self.pipe_i2i = StableDiffusionImg2ImgPipeline(
|
|
|
24 |
self.pipe_t2i = StableDiffusionPipeline.from_pretrained(
|
25 |
path, torch_dtype=torch.float16
|
26 |
)
|
27 |
+
self.pipe_t2i.scheduler = DPMSolverMultistepScheduler.from_config(
|
28 |
self.pipe_t2i.scheduler.config
|
29 |
)
|
30 |
self.pipe_i2i = StableDiffusionImg2ImgPipeline(
|