Open Piscabo opened 1 year ago
Can you upload one of your images? Does it happen with others' images?
Side note, use --xformers
or --opt-sdp-attention
, not both. Only one will be applied.
This has been broken for at least two weeks on the newest commit. The 'fix' people keep recommending didn't work for me.
Download 1.4.0 RPC which doesn't have the bug.
same here, on mac os x Ventura 13.4.1, both safari and firefox are having the same issue.
This has been broken for at least two weeks on the newest commit. The 'fix' people keep recommending didn't work for me.
Download 1.4.0 RPC which doesn't have the bug.
This worked for me... thanks.
Hi. I have the same problem, but on version 1.6. Can't send prompt info to txt2img or img2img from PNG Info tab or the Infinite image browsing extension. The image is sent to img2img, Inpaint or Extras though. I tried deleting the venv folder and deactivating all extra extensions, to no change.
Here are the errors I get:
Traceback (most recent call last): File "C:\StableDiff\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "C:\StableDiff\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api result = await self.call_function( File "C:\StableDiff\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "C:\StableDiff\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\StableDiff\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\StableDiff\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run result = context.run(func, args) File "C:\StableDiff\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(args, **kwargs) File "C:\StableDiff\modules\generation_parameters_copypaste.py", line 372, in paste_func params = parse_generation_parameters(prompt) File "C:\StableDiff\modules\generation_parameters_copypaste.py", line 244, in parse_generation_parameters found_styles, prompt, negative_prompt = shared.prompt_styles.extract_styles_from_prompt(prompt, negative_prompt) File "C:\StableDiff\modules\styles.py", line 123, in extract_styles_from_prompt is_match, new_prompt, new_neg_prompt = extract_style_from_prompts(style, prompt, negative_prompt) File "C:\StableDiff\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 "C:\StableDiff\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'
Is there an existing issue for this?
What happened?
Whatever method I use to send parameters to txt2img end in nothing being sent and this error: File "A:\AI_Files\stable-diffusion-webui\modules\shared.py", line 692, in cast_value value = expected_type(value) ValueError: invalid literal for int() with base 10: '0.15' No Image data blocks found. No Image data blocks found. No Image data blocks found. No Image data blocks found. Traceback (most recent call last): File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict output = await app.get_blocks().process_api( File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1323, in process_api result = await self.call_function( File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1051, in call_function prediction = await anyio.to_thread.run_sync( File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run result = context.run(func, *args) File "A:\AI_Files\stable-diffusion-webui\modules\generation_parameters_copypaste.py", line 379, in paste_func v = key(params) File "A:\AI_Files\stable-diffusion-webui\modules\generation_parameters_copypaste.py", line 414, in paste_settings v = shared.opts.cast_value(setting_name, v) File "A:\AI_Files\stable-diffusion-webui\modules\shared.py", line 692, in cast_value value = expected_type(value) ValueError: invalid literal for int() with base 10: '0.15'
Steps to reproduce the problem
What should have happened?
Prompt and parameters should be filled to txt2img
Commit where the problem happens
version: v1.3.2 • python: 3.10.9 • torch: 2.0.1+cu118 • xformers: 0.0.17 • gradio: 3.32.0
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
a1111-sd-webui-tagcomplete" Auto-Photoshop-StableDiffusion-Plugin" adetailer" sd-dynamic-prompts" sd-webui-controlnet" sd-web-ui-kitchen-theme" canvas-zoom" a1111-sd-webui-lycoris" sd-3dmodel-loader" sd-webui-txt-img-to-3d-model" a1111-mini-paint" sd-webui-aspect-ratio-helper" stable-diffusion-webui-anti-burn" deforum-for-automatic1111-webui" Stable-Diffusion-Webui-Civitai-Helper" sd-webui-ar" CFG-Schedule-for-Automatic1111-SD" model_preset_manager" sd-webui-infinite-image-browsing" sd-webui-additional-networks" sd-webui-prompt-all-in-one" sd-webui-inpaint-anything" OneButtonPrompt" model-keyword" sd-webui-prompt-history" SD-WebUI-BatchCheckpointPrompt" sd-dynamic-thresholding" sd-webui-openpose-editor"
Console logs
Additional information
Even the prompt history apply does not fill the txt2image parameters.