Spaces:
Running on Zero
Running on Zero
Download src/audiocraft/models/__init__.py from teamup-tech/LoopGen: direct link, hf CLI and curl.
- Browser
- Download file 690 Bytes
-
https://huggingface.co/spaces/teamup-tech/LoopGen/resolve/main/src/audiocraft/models/__init__.py
- Command line
-
hf download hf://spaces/teamup-tech/LoopGen/src/audiocraft/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/teamup-tech/LoopGen/resolve/main/src/audiocraft/models/__init__.py
690 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """ | |
| Models for EnCodec, AudioGen, MusicGen, as well as the generic LMModel. | |
| """ | |
| # flake8: noqa | |
| # dropped non-inference classes (AudioGen, MultiBandDiffusion, DiffusionUnet/unet.py, | |
| # encodec.py's DAC) to avoid unnecessary dependencies | |
| from . import builders, loaders | |
| from .encodec import ( | |
| CompressionModel, EncodecModel, | |
| HFEncodecModel, HFEncodecCompressionModel) | |
| from .lm import LMModel | |
| from .lm_magnet import MagnetLMModel | |
| from .musicgen import MusicGen | |
| from .magnet import MAGNeT | |