From 8aa1d9d91ddba240d9dd8c5aa9a9c3d9e80c0670 Mon Sep 17 00:00:00 2001 From: Pierre Chapuis Date: Mon, 26 Aug 2024 13:56:35 +0200 Subject: [PATCH] fix formatting in docs --- src/refiners/foundationals/latent_diffusion/solvers/franken.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/refiners/foundationals/latent_diffusion/solvers/franken.py b/src/refiners/foundationals/latent_diffusion/solvers/franken.py index 255afe9..e9afa64 100644 --- a/src/refiners/foundationals/latent_diffusion/solvers/franken.py +++ b/src/refiners/foundationals/latent_diffusion/solvers/franken.py @@ -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(