Skip to content
Hugging Face Blog·· 2023-08-04AI score38

How to quickly deploy MusicGen with Inference Endpoints

Deploy MusicGen in no time with Inference Endpoints

AI briefing

Hugging Face published a tutorial on how to deploy the MusicGen music generation model through a custom handler in Inference Endpoints. Users need to duplicate the facebook/musicgen-large repository and add handler.py and requirements.txt to create an endpoint and generate music from text prompts, and can also optionally use a melody snippet as a condition.

Open original huggingface.co