stable-diffusion-webui-promptgen
stable-diffusion-webui-promptgen copied to clipboard
stable-diffusion-webui-promptgen
Thanks for your work!! Is it possible to add an api definition, which will extend the current a1111 api?
Thank you such an amazing extension. I've followed the instructions to install and run the extension on the webUI. It executes flawlessly unfortunately when running it with API endpoint i.e....
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, privateuseone:0 and cpu! Time taken: 0.0 sec. 
On start up I see some console error: ``` ...\stable-diffusion-webui\extensions\stable-diffusion-webui-promptgen\scripts\promptgen.py:160: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead. prompt = gr.Textbox(label="Prompt", elem_id="promptgen_prompt", show_label=False, lines=2,...
Added a new api_generate and a return_available_models function in promptgen.py and added api.py which uses these to get the same behaviour in api as in Webui
When I use promptgen to henerate some prompt using it the first time, sometimes I get the following error: Running on local URL: http://127.0.0.1:7860 To create a public link, set...
Fix typo
if i try to add models from hugging face via ui settings like "[TheBloke/Wizard-Vicuna-7B-Uncensored-HF](https://huggingface.co/TheBloke/Wizard-Vicuna-7B-Uncensored-HF/tree/main)" or "[ehartford/Wizard-Vicuna-7B-Uncensored](https://huggingface.co/ehartford/Wizard-Vicuna-7B-Uncensored)" (i also tried others) i get this error: ``` Arguments: ('task(u21crq97y5fd7ci)', 'TheBloke/Wizard-Vicuna-7B-Uncensored-HF', 1, 10,...
Great extension. Many thanks! Could you please add an option to save the generated prompts as a simple prompt list text file suitable for the "file or textbox" batch script?...