Radio Mode, Cloud LM Option, Customizable Lyric, Style, and Title prompt#42
Open
pacmanincarnate wants to merge 6 commits intofspecii:mainfrom
Open
Radio Mode, Cloud LM Option, Customizable Lyric, Style, and Title prompt#42pacmanincarnate wants to merge 6 commits intofspecii:mainfrom
pacmanincarnate wants to merge 6 commits intofspecii:mainfrom
Conversation
Refactor song handling and generation logic for Radio Mode. Introduce new state variables and update existing functions to accommodate changes in song sorting and generation.
Added functions to generate lyrics, style, and title using lmService. Updated UI to include buttons for these functionalities.
Added local storage management for AI text generation settings including backend selection, API keys, and prompts.
Capture original stdout for clean JSON output and handle stdout redirection for logging.
Redirect stdout to stderr for logging and restore it for final output. Handle exceptions and print errors in JSON format.
Implement lmService for song generation with various prompts and backend options.
|
I love the idea of a radio mode actually! Would be a great addition to the UI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I wanted to create a radio mode where the app would generate the next song with new lyrics and style while the current was playing. In the process, I also realized that the local LM was causing trouble, as it's not well optimized for smaller systems, and that I wanted more control over the prompts for lyrics, style, and title.
This PR resolves those issues and is a nice upgrade to the system, with no downsides in my testing.
I highly recommend testing this before merging, as it is vibe coded. But I do think it's worth merging all or part of.