Skip to content
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

self.character = characters[self.character.name] #2

Open
Ylelmon opened this issue Dec 21, 2024 · 0 comments
Open

self.character = characters[self.character.name] #2

Ylelmon opened this issue Dec 21, 2024 · 0 comments

Comments

@Ylelmon
Copy link

Ylelmon commented Dec 21, 2024

first of all sorry for bad grammar English not my first language.

i just copy the josn and the example script form the git hub to test this extension

لقطة الشاشة 2024-12-21 142953

Script
image

if run the generate this error pop out

'''Traceback (most recent call last):
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\extensions\castadi\scripts\ui.py", line 120, in generate
_, results, new_script = mr.generate(
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\extensions\castadi\castadi\main_runner.py", line 91, in generate
page = d.DrawnPage.from_page(page, settings)
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\extensions\castadi\castadi\drawn.py", line 112, in from_page
p.prep(settings["embeds"]["characters"])
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\extensions\castadi\castadi\scripter.py", line 151, in prep
panel.prep(characters)
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\extensions\castadi\castadi\scripter.py", line 94, in prep
event.prep(characters)
File "C:\Users\dell\Desktop\SD2\stable-diffusion-webui-directml\extensions\castadi\castadi\scripter.py", line 66, in prep
self.character = characters[self.character.name]
KeyError: 'misty'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant