stable-diffusion-webui-promptgen icon indicating copy to clipboard operation
stable-diffusion-webui-promptgen copied to clipboard

stable-diffusion-webui-promptgen

Results 21 stable-diffusion-webui-promptgen issues
Sort by recently updated
recently updated
newest added

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. ![屏幕截图(1)](https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen/assets/113270112/8725681d-1c5d-4a12-8ce6-1d2fbec84946)

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...

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?...