Open tob-har opened 1 year ago
as of right now it does not exist in the current build
@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).
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.
@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.
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?