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

Is it possible to use turbo models? None seem to work #15

Open
REDDKOMET opened this issue Jan 12, 2024 · 2 comments
Open

Is it possible to use turbo models? None seem to work #15

REDDKOMET opened this issue Jan 12, 2024 · 2 comments

Comments

@REDDKOMET
Copy link

REDDKOMET commented Jan 12, 2024

Whenever I add a Turbo model I get errors, my workflow is just an edited version of the main one. I know my discord bot is set up correctly because it works fine with the default files.

Errors:
[2024-01-12 11:13:22] [ERROR ] discord.app_commands.tree: Ignoring exception in command 'imagine'
Traceback (most recent call last):
File "discord\app_commands\commands.py", line 828, in _do_call
File "bot.py", line 148, in slash_command
File "imageGen.py", line 110, in generate_images
KeyError: ''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "discord\app_commands\tree.py", line 1248, in _call
File "discord\app_commands\commands.py", line 853, in _invoke_with_namespace
File "discord\app_commands\commands.py", line 846, in _do_call
discord.app_commands.errors.CommandInvokeError: Command 'imagine' raised an exception: KeyError: ''

img2img_config.json
text2img_config.json
upscale_config.json
config.txt

@erroneousau
Copy link

I've just had a look at your config and text2img config files and looks like you've set the negative prompt to node 26 which doesn't exist in the text2img config. Looks like that should be 13.

@REDDKOMET
Copy link
Author

Thanks, that fixed txt2img but other two do not work:

[2024-06-28 11:56:41] [ERROR ] discord.ui.view: Ignoring exception in view for item <ImageButton style=<ButtonStyle.secondary: 2> url=None disabled=False label='V1' emoji= row=1>
Traceback (most recent call last):
File "discord\ui\view.py", line 427, in _scheduled_task
File "bot.py", line 81, in callback
File "bot.py", line 113, in generate_alternatives_and_send
File "imageGen.py", line 144, in generate_alternatives
KeyError: '2'

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

2 participants