Coder Social home page Coder Social logo

Comments (9)

Zyin055 avatar Zyin055 commented on June 21, 2024 1

@ENTPRESTIGIOUS I pushed an update that should fix this issue, try updating and see if the problem is resolved.

from config-presets.

Zyin055 avatar Zyin055 commented on June 21, 2024

Stable Diffusion 1.7

There is no such thing as Stable Diffusion 1.7. Do you mean A1111 1.7.0?

I have trouble saving my presets because it gives me an ERROR sign.

I can't help when your description is that vague and don't even post what the error was.

from config-presets.

ENTPRESTIGIOUS avatar ENTPRESTIGIOUS commented on June 21, 2024

There is no such thing as Stable Diffusion 1.7. Do you mean A1111 1.7.0?

Yes, my bad.

I can't help when your description is that vague and don't even post what the error was.

Basically, I have generated something and I want to save it using Config Presets. I go to the Add/Remove section and it gives me a bunch of buttons to check what I want to save. Having chosen my options, I try to save it but it gives me an ERROR symbol and doesn't save to the JSON file. I'll try to provide logs later on if I can.

from config-presets.

ENTPRESTIGIOUS avatar ENTPRESTIGIOUS commented on June 21, 2024

It's actually similar to their issue but I think they're using AUTOMATIC1111 v1.6.0
#63

from config-presets.

ENTPRESTIGIOUS avatar ENTPRESTIGIOUS commented on June 21, 2024
Traceback (most recent call last):
  File "D:\ai\StabilityMatrix\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "D:\ai\StabilityMatrix\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "D:\ai\StabilityMatrix\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "D:\ai\StabilityMatrix\Packages\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:\ai\StabilityMatrix\Packages\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "D:\ai\StabilityMatrix\Packages\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "D:\ai\StabilityMatrix\Packages\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "D:\ai\StabilityMatrix\Packages\stable-diffusion-webui\extensions\Config-Presets\scripts\config_presets.py", line 1213, in func
    new_setting_map[component_id] = modules.sd_samplers.samplers_map[new_value.lower()]
KeyError: 'use same sampler'

from config-presets.

Zyin055 avatar Zyin055 commented on June 21, 2024

I think I know what the issue is. Are you trying to save hr_sampler when it is set to "Use same sampler"? If so, I'll work on a fix for that edge case.

from config-presets.

ENTPRESTIGIOUS avatar ENTPRESTIGIOUS commented on June 21, 2024

@ENTPRESTIGIOUS I pushed an update that should fix this issue, try updating and see if the problem is resolved.

Will do!

from config-presets.

ENTPRESTIGIOUS avatar ENTPRESTIGIOUS commented on June 21, 2024

Seems to be working for now, I'll reopen if any issue persists! Thank you for the patch!

from config-presets.

ENTPRESTIGIOUS avatar ENTPRESTIGIOUS commented on June 21, 2024

I think I know what the issue is. Are you trying to save hr_sampler when it is set to "Use same sampler"? If so, I'll work on a fix for that edge case.

I think that could be why...

from config-presets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.