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

使用 embedding 报错 #299

Open
Hileowill opened this issue Aug 10, 2024 · 3 comments
Open

使用 embedding 报错 #299

Hileowill opened this issue Aug 10, 2024 · 3 comments

Comments

@Hileowill
Copy link

Traceback (most recent call last):
File "D:\Program Files\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Program Files\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\Program Files\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\Program Files\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 1073, in comfyloader
return super().adv_pipeloader(ckpt_name, 'Default', vae_name, clip_skip,
File "D:\Program Files\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 938, in adv_pipeloader
negative_embeddings_final, negative_wildcard_prompt, model, clip = prompt_to_cond('negative', model, clip, clip_skip, lora_stack, negative, negative_token_normalization, negative_weight_interpretation, a1111_prompt_style, my_unique_id, prompt, easyCache, model_type=model_type)
File "D:\Program Files\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\libs\conditioning.py", line 20, in prompt_to_cond
text = zh_to_en([text])[0]
File "D:\Program Files\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\libs\translate.py", line 230, in zh_to_en
result = parser.parse(t).children
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\lark.py", line 581, in parse
return self.parser.parse(text, start=start, on_error=on_error)
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\parser_frontends.py", line 106, in parse
return self.parser.parse(stream, chosen_start, **kw)
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\parsers\lalr_parser.py", line 41, in parse
return self.parser.parse(lexer, start)
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\parsers\lalr_parser.py", line 171, in parse
return self.parse_from_state(parser_state)
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\parsers\lalr_parser.py", line 188, in parse_from_state
raise e
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\parsers\lalr_parser.py", line 179, in parse_from_state
state.feed_token(token)
File "D:\Anaconda3\envs\comfyui2\lib\site-packages\lark\parsers\lalr_parser.py", line 129, in feed_token
raise UnexpectedToken(token, expected, state=self, interactive_parser=None)
lark.exceptions.UnexpectedToken: Unexpected token Token('COLON', ':') at line 1, column 30.
Expected one of:
* COMMA
* $END

@yolain
Copy link
Owner

yolain commented Aug 10, 2024

提词 发我看看。

@Hileowill
Copy link
Author

微信截图_20240811090117

@Hileowill
Copy link
Author

Realistic, DSLR, RAW photo, Portrait photography, 1990s_(style),by Wong Kar-wai

(High angle shot:1.2), from below, Chiaroscuro, Rambrandt Lighting, From below, (F1.2:1.2), 100mm lens

A charming woman, black wavy long hair, dark turtleneck sweater, sitting in a saloon, cup of wine on the table

text, watermark, nsfw, embedding:[SDXL]_[写实]_negativeXL,

yolain pushed a commit that referenced this issue Aug 11, 2024
yolain added a commit that referenced this issue Aug 11, 2024
Fix filtering embedding carries chinese #299
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