fix formatting in docs
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled

This commit is contained in:
Pierre Chapuis 2024-08-26 13:56:35 +02:00
parent 2fc93cb334
commit 8aa1d9d91d

View file

@ -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(