From 7639ca4b19c40245eec3578644a4521c67d3dcc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=A9fossez?= Date: Fri, 27 Oct 2023 15:06:44 +0200 Subject: [PATCH] Update MUSICGEN.md --- docs/MUSICGEN.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/MUSICGEN.md b/docs/MUSICGEN.md index d76c33a7..21f6bfcd 100644 --- a/docs/MUSICGEN.md +++ b/docs/MUSICGEN.md @@ -287,9 +287,9 @@ Once you have launched some experiments, you can easily get access to the Solver with the latest trained model using the following snippet. ```python -from audiocraft.solvers.musicgen import MusicGen +from audiocraft.solvers.musicgen import MusicGenSolver -solver = MusicGen.get_eval_solver_from_sig('SIG', device='cpu', batch_size=8) +solver = MusicGenSolver.get_eval_solver_from_sig('SIG', device='cpu', batch_size=8) solver.model solver.dataloaders ```