-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save causes error. #63
Comments
I cannot replicate your error on A1111 1.6.0 or the latest commit (as of 9/7/23). Can you provide more information that may help? The error is complaining that a sampler is a number/index instead of a string. |
Same for me. Automatic1111 v1.6.0, any attempt to save just throws up errors and nothing gets saved. |
I finally managed to replicate this error in my Automatic1111 1.5 installation (the fix works for both A1111 1.5 and 1.6.0). Since I was able to reproduce it the error on my end, I was able to make a fix for it. @rafstahelin @Jimmni @killakrust Please update your Config Presets extension and see if the issue is resolved for you. |
Anybody know how to avoid this error? On latest webui version. Is there a conflict?
[Config-Presets] Changed to: SDXL --- 1024x1024
Traceback (most recent call last):
File "D:\auto1111 SDXL\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "D:\auto1111 SDXL\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1323, in process_api
result = await self.call_function(
File "D:\auto1111 SDXL\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1051, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\auto1111 SDXL\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 "D:\auto1111 SDXL\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "D:\auto1111 SDXL\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "D:\auto1111 SDXL\stable-diffusion-webui\extensions\Config-Presets\scripts\config_presets.py", line 1138, in func
new_setting_map[component_id] = modules.sd_samplers.samplers_map[new_value.lower()]
AttributeError: 'int' object has no attribute 'lower'
The text was updated successfully, but these errors were encountered: