Skip to content

captioner: fix Ideogram4 prompt Unicode escape syntax#960

Open
Zironic wants to merge 1 commit into
ostris:mainfrom
Zironic:fix/ideogram4-prompt-import
Open

captioner: fix Ideogram4 prompt Unicode escape syntax#960
Zironic wants to merge 1 commit into
ostris:mainfrom
Zironic:fix/ideogram4-prompt-import

Conversation

@Zironic

@Zironic Zironic commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Description

Current code declares the prompt as a normal string while containing the literal \uNNNN. Python interprets that as a malformed Unicode escape, so the module can fail during import.

Fix is to just add the raw-string prefix.

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

Successfully merging this pull request may close these issues.

1 participant