Giter VIP home page Giter VIP logo

gpt-lyrics's Introduction

Introduction

GPT-Lyrics is an open-source lyric generator plugin supported by the AI DAW TuneFlow. The text generation and completion is powered by OpenAI APIs.

GPT-Lyrics prompts lyric writing from scratch, or lyric line and paragraph (such as intro, chorus, outro) rewrite/completion.

Pre-requisite

Here are guidelines for testing or developing GPT-Lyrics in TuneFlow.

  • Download the AI DAW app from TuneFlow and install TuneFlow Desktop

  • Clone this repo

git clone https://github.com/tuneflow/<repo-name>
  • cd to the repo folder, and install dependencies using:
pip install -r requirements.txt
  • OpenAI token setup

Create an .env file under the root directory of this repo to restore your OpenAI API tokens.

OPENAI_API_KEY='<Your API KEY>'
OPENAI_API_ENGINE='text-davinci-003'    # or 'gpt-3.5-turbo'
OPENAI_API_MAX_TOKENS=1024              # Maximum number of tokens allowed in requests
  • Run the plugin in the developer mode:
python debug.py
  • Start TuneFlow Desktop and create or open a song

  • Switch to TuneFlow Plugin Library panel and at the upper-right corner, click on the "Load a local plugin in debug mode" button.

Usage

The lyric plugin supports

  • Write lyrics from scratch
  • Rewrite/complete single lyric lines
  • Rewrite/complete paragraphs (such as intro, chorus, outro)
Write from Scratch Line Completion Paragraph Completion
lyrics.png line.png paragraph.png

Suffix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.