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

The imprint function does not work

Open sswp1124 opened this issue 3 years ago • 2 comments

Traceback (most recent call last):

File "F:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 275, in run_predict

output = await app.blocks.process_api(

File "F:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 787, in process_api

result = await self.call_function(fn_index, inputs, iterator)

File "F:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 694, in call_function

prediction = await anyio.to_thread.run_sync(

File "F:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync

return await get_asynclib().run_sync_in_worker_thread(

File "F:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread

return await future

File "F:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run

result = context.run(func, *args)

File "F:\AI\stable-diffusion-webui\modules\ui.py", line 1588, in

fn=lambda x, *args: (image_from_url_text(x), *args),

File "F:\AI\stable-diffusion-webui\modules\ui.py", line 97, in image_from_url_text

if filedata.startswith("data:image/png;base64,"):

AttributeError: 'dict' object has no attribute 'startswith'

1

sswp1124 avatar Oct 15 '22 11:10 sswp1124

Please tell us what troubleshooting steps you went through to diagnose this issue so we can better help you. You ignored the bug report template.

Cyberes avatar Oct 15 '22 17:10 Cyberes

Actually, seems to be related to https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2711

Cyberes avatar Oct 15 '22 17:10 Cyberes