From ba29135fcfa1ca3ea3fc275de55effcc743ea511 Mon Sep 17 00:00:00 2001 From: Nathan Raw Date: Fri, 19 Apr 2024 00:01:48 -0500 Subject: [PATCH] Created using Colab --- singing_songstarter_demo.ipynb | 78 ++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 singing_songstarter_demo.ipynb diff --git a/singing_songstarter_demo.ipynb b/singing_songstarter_demo.ipynb new file mode 100644 index 0000000..1bd9baf --- /dev/null +++ b/singing_songstarter_demo.ipynb @@ -0,0 +1,78 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "machine_shape": "hm", + "gpuType": "A100", + "authorship_tag": "ABX9TyMm+2HEY3Dh8UBT+NJ/CIoa", + "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": [ + "\"Open" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Singing Songstarter Demo\n", + "\n", + "This is a demo of using [`musicgen-songstarter-v0.2`](https://hf.co/nateraw/musicgen-songstarter-v0.2), a large stereo musicgen trained to be useful for music producers, for the task of voice-to-music.\n", + "\n", + "**Hum an idea, get a music sample!** 🚀\n", + "\n", + "### Usage\n", + "\n", + "1. Run the cell below.\n", + "\n", + "2. You can ignore \"restart this runtime\" message when it pops up\n", + "3. Click the public share link. Should look like: `\"Running on public URL: https://\"`\n", + "4. Enjoy 🔥\n", + "\n", + "\n", + "### If you think this notebook is cool, consider supporting me by:\n", + " - giving [the model](https://hf.co/nateraw/musicgen-songstarter-v0.2) a heart on Hugging Face ❤️\n", + " - following me on [GitHub](https://github.com/nateraw) 👨‍💻\n", + " - following me on [X/twitter](https://twitter.com/nateraw) X\n", + " - giving [the demo repo](https://github.com/nateraw/singing-songstarter) a star ⭐️\n", + "\n", + "If you have any questions/concerns about this demo, please [file an issue on GitHub](https://github.com/nateraw/singing-songstarter)." + ], + "metadata": { + "id": "hBsE8AuVsgG8" + } + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "-fw0bpXysAUG" + }, + "outputs": [], + "source": [ + "%cd /content\n", + "! git clone https://github.com/nateraw/singing-songstarter\n", + "%cd /content/singing-songstarter\n", + "! pip install -r requirements.txt\n", + "! python app.py --share --debug" + ] + } + ] +} \ No newline at end of file