v8hid / infinite-zoom-automatic1111-webui

infinite zoom effect extension for AUTOMATIC1111's webui - stable diffusion
MIT License
659 stars 62 forks source link

first click on generate fails #35

Closed laurentopia closed 1 year ago

laurentopia commented 1 year ago

I think it needs to wait for model loading

TanvirHafiz commented 1 year ago

i also get failed and get this errors

Traceback (most recent call last): File "G:\Automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict output = await app.get_blocks().process_api( File "G:\Automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api result = await self.call_function( File "G:\Automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 884, in call_function prediction = await anyio.to_thread.run_sync( File "G:\Automatic1111\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 "G:\Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "G:\Automatic1111\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) File "G:\Automatic1111\stable-diffusion-webui\extensions\infinite-zoom-automatic1111-webui\scripts\infinite-zoom.py", line 154, in create_zoom result = create_zoom_single( File "G:\Automatic1111\stable-diffusion-webui\extensions\infinite-zoom-automatic1111-webui\scripts\infinite-zoom.py", line 241, in create_zoom_single current_image = processed.images[0] IndexError: list index out of range

Lancer907 commented 1 year ago

same

friedvinegar commented 1 year ago

me too edit: nvm if you use text to image first then use infinite zoom it works

ZMSamShark commented 1 year ago

me too

v8hid commented 1 year ago

Try to perform a random Txt2Image generation, then use Infinite-zoom. This will fix it for now, but I'm trying to resolve the problem.