Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Generate multiple files at once? #29

Open
tob-har opened this issue Aug 11, 2023 · 4 comments
Open

Question: Generate multiple files at once? #29

tob-har opened this issue Aug 11, 2023 · 4 comments

Comments

@tob-har
Copy link

tob-har commented Aug 11, 2023

Using the API and a simple python script to use model.generate, I can create multiple files in one run, simply by adding several prompts in a row.
Is this possible with your app?

@GrandaddyShmax
Copy link
Owner

as of right now it does not exist in the current build

@jasalt
Copy link

jasalt commented Dec 3, 2023

@tob-har do you have example scripts you could share?
I tried to use the Gradio API but it doesn't have any working examples and didn't dig deeper how it is set up.
Doing batches would be very useful via scripting, or via UI (like in Stable Diffusion web ui).

@jasalt
Copy link

jasalt commented Dec 3, 2023

Quick Selenium automation script that inputs given parameters to the audiocraft_plus Web UI and keeps hitting the Generate button while generation is not in progress. Not most elegant solution but works https://gist.github.com/jasalt/8174773ffc8abc8c98b328155c4dfc83.

@tob-har
Copy link
Author

tob-har commented Dec 4, 2023

@jasalt yes, you can take a look at my repo:
https://github.com/tob-har/audiocraft-cablesGUI
The file createaudio.py together with serverCables.py handle the audio generation.
This is quite a custom approach… but maybe still helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants