mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
fix formatting in docs
This commit is contained in:
parent
2fc93cb334
commit
8aa1d9d91d
|
@ -43,11 +43,13 @@ class FrankenSolver(Solver):
|
|||
"""Lets you use Diffusers Schedulers as Refiners Solvers.
|
||||
|
||||
For instance:
|
||||
```py
|
||||
from diffusers import EulerDiscreteScheduler
|
||||
from refiners.foundationals.latent_diffusion.solvers import FrankenSolver
|
||||
|
||||
scheduler = EulerDiscreteScheduler(...)
|
||||
solver = FrankenSolver(lambda: scheduler, num_inference_steps=steps)
|
||||
```
|
||||
"""
|
||||
|
||||
default_params = dataclasses.replace(
|
||||
|
|
Loading…
Reference in a new issue