Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.11 KB

File metadata and controls

30 lines (23 loc) · 1.11 KB

🎵 Text to Music Generator

This repository contains a Text to Music Generator app that allows users to generate music tracks based on text descriptions using Meta's Audiocraft library, specifically the MusicGen model. With this app, you can describe a mood, style, or theme, and the AI will create a melody that matches your description.

Features

  • Generate music tracks using natural language descriptions.
  • Adjustable duration for the generated music (up to 20 seconds).
  • Download the generated music in .wav format.
  • Deployed with a modern, interactive Streamlit interface.
  • Run in Google Colab using ngrok for easy public access.

Demo

🎵 Access the app on Google Colab


Installation

Prerequisites

  1. Python 3.8+
  2. Install the following dependencies:
    • streamlit
    • torch
    • torchaudio
    • audiocraft
    • pyngrok

To install dependencies, run:

pip install streamlit torch torchaudio audiocraft pyngrok