AlUlkesh / stable-diffusion-webui-images-browser

an images browse for stable-diffusion-webui
623 stars 111 forks source link

img2img or text2img param not send #212

Closed pppandora00 closed 1 year ago

pppandora00 commented 1 year ago

[stable-diffusion-webui]:1.40(lasest)

File "E:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "E:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\blocks.py", line 1323, in process_api result = await self.call_function( File "E:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\blocks.py", line 1051, in call_function prediction = await anyio.to_thread.run_sync( File "E:\stable-diffusion-webui-master\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "E:\stable-diffusion-webui-master\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "E:\stable-diffusion-webui-master\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) File "E:\stable-diffusion-webui-master\modules\generation_parameters_copypaste.py", line 401, in paste_func params = parse_generation_parameters(prompt) File "E:\stable-diffusion-webui-master\modules\generation_parameters_copypaste.py", line 269, in parse_generation_parameters found_styles, prompt, negative_prompt = shared.prompt_styles.extract_styles_from_prompt(prompt, negative_prompt) File "E:\stable-diffusion-webui-master\modules\styles.py", line 126, in extract_styles_from_prompt is_match, new_prompt, new_neg_prompt = extract_style_from_prompts(style, prompt, negative_prompt) File "E:\stable-diffusion-webui-master\modules\styles.py", line 63, in extract_style_from_prompts match_negative, extracted_negative = extract_style_text_from_prompt(style.negative_prompt, negative_prompt) File "E:\stable-diffusion-webui-master\modules\styles.py", line 37, in extract_style_text_from_prompt stripped_style_text = re.sub(re_spaces, " ", style_text.strip()) AttributeError: 'NoneType' object has no attribute 'strip'

AlUlkesh commented 1 year ago

Does sending to img2img from the standard PNG Info tab work for you?