From 38050cb828a64c502824aa0029e614d135c3c5df Mon Sep 17 00:00:00 2001
From: Drew Thomasson <126999465+DrewThomasson@users.noreply.github.com>
Date: Wed, 12 Mar 2025 11:56:27 -0400
Subject: [PATCH 1/3] Created DiffRhythm Google Colab
---
colab_DiffRhythm.ipynb | 85 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
create mode 100644 colab_DiffRhythm.ipynb
diff --git a/colab_DiffRhythm.ipynb b/colab_DiffRhythm.ipynb
new file mode 100644
index 0000000..5e4c978
--- /dev/null
+++ b/colab_DiffRhythm.ipynb
@@ -0,0 +1,85 @@
+{
+ "nbformat": 4,
+ "nbformat_minor": 0,
+ "metadata": {
+ "colab": {
+ "provenance": [],
+ "gpuType": "T4",
+ "include_colab_link": true
+ },
+ "kernelspec": {
+ "name": "python3",
+ "display_name": "Python 3"
+ },
+ "language_info": {
+ "name": "python"
+ },
+ "accelerator": "GPU"
+ },
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "view-in-github",
+ "colab_type": "text"
+ },
+ "source": [
+ "
"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "source": [
+ "# 🎵 Welcome to the **DiffRhythm** Free Google Colab! \n",
+ "### **Blazingly Fast & Simple End-to-End Song Generation with Latent Diffusion** \n",
+ "\n",
+ "## 🌟 Features \n",
+ "\n",
+ "- 🎶 **Full-Length AI Music Generation** – Create complete songs from text prompts or reference audio. \n",
+ "- 📝 **Text-to-Music** – Describe a mood, scene, or style (e.g., \"jazzy nightclub\", \"cinematic orchestral\") and generate music instantly! \n",
+ "- 🎧 **Instrumental Mode** – Generate music without lyrics, supporting various instruments and genres. \n",
+ "- 🚀 **Runs on Google Colab for Free!** – No need for high-end GPUs, just a web browser. \n",
+ "\n",
+ "## 💻 **Want to Run Locally?** \n",
+ "Check out the official **[DiffRhythm GitHub](https://github.com/ASLP-lab/DiffRhythm)** for installation guides, local deployment, and advanced customization! \n",
+ "\n",
+ "🎵 **Break the rules. Make music that shouldn't exist.** 🎵 "
+ ],
+ "metadata": {
+ "id": "DKNNnwD-HJwQ"
+ }
+ },
+ {
+ "cell_type": "code",
+ "source": [
+ "# @title Install and Launch DiffRhythm 🎵\n",
+ "# Install the requirments\n",
+ "!git clone https://huggingface.co/spaces/ASLP-lab/DiffRhythm\n",
+ "!pip install -r DiffRhythm/requirements.txt\n",
+ "!pip install spaces\n",
+ "!apt-get install espeak-ng\n",
+ "\n",
+ "# Change add share=True in /DiffRhythm/app.py\n",
+ "file_name = \"DiffRhythm/app.py\"\n",
+ "\n",
+ "with open(file_name, \"r\") as f:\n",
+ " content = f.read()\n",
+ "\n",
+ "content = content.replace(\"demo.launch()\", \"demo.launch(share=True)\")\n",
+ "\n",
+ "with open(file_name, \"w\") as f:\n",
+ " f.write(content)\n",
+ "\n",
+ "# Launch app.py\n",
+ "%cd DiffRhythm\n",
+ "!python app.py\n"
+ ],
+ "metadata": {
+ "cellView": "form",
+ "id": "ZZmWSmlS82py"
+ },
+ "execution_count": null,
+ "outputs": []
+ }
+ ]
+}
\ No newline at end of file
From ff021058118a32775995ee6d593fe880fe549731 Mon Sep 17 00:00:00 2001
From: Drew Thomasson <126999465+DrewThomasson@users.noreply.github.com>
Date: Wed, 12 Mar 2025 12:13:59 -0400
Subject: [PATCH 2/3] Moved google colab to Notebooks folder
---
colab_DiffRhythm.ipynb => Notebooks/colab_DiffRhythm.ipynb | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename colab_DiffRhythm.ipynb => Notebooks/colab_DiffRhythm.ipynb (100%)
diff --git a/colab_DiffRhythm.ipynb b/Notebooks/colab_DiffRhythm.ipynb
similarity index 100%
rename from colab_DiffRhythm.ipynb
rename to Notebooks/colab_DiffRhythm.ipynb
From c82399950e897e53eee3eafe88797b70247f66a8 Mon Sep 17 00:00:00 2001
From: Drew Thomasson <126999465+DrewThomasson@users.noreply.github.com>
Date: Wed, 12 Mar 2025 12:15:49 -0400
Subject: [PATCH 3/3] Updated Google Colab
---
Notebooks/colab_DiffRhythm.ipynb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Notebooks/colab_DiffRhythm.ipynb b/Notebooks/colab_DiffRhythm.ipynb
index 5e4c978..ff999e3 100644
--- a/Notebooks/colab_DiffRhythm.ipynb
+++ b/Notebooks/colab_DiffRhythm.ipynb
@@ -24,7 +24,7 @@
"colab_type": "text"
},
"source": [
- "
"
+ "
"
]
},
{