Comments (3)
Hi @redstoneguy10ls,
When you say that the escape character doesn't work, do you mean that the backticks are showing up in your final prompt, or something else?
I am not able to reproduce the issue on v11.0.0:
![](https://private-user-images.githubusercontent.com/95403634/335844497-423c7b0f-16c5-4de6-a62a-d792a3ebba0e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyNzkyNTgsIm5iZiI6MTcxOTI3ODk1OCwicGF0aCI6Ii85NTQwMzYzNC8zMzU4NDQ0OTctNDIzYzdiMGYtMTZjNS00ZGU2LWE2MmEtZDc5MmEzZWJiYTBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI1VDAxMjkxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNhNTBmYWVjZDM1MzFhYTcwMDA0MmU5YzQ2N2FmNjQzOTliNGU3MTA5MjAxNjYzYjliOTNhOTIzMTgyZGE1NTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.d6mGOPheqvqL0EZWkVaX2__Ldl0JW8XT_uPKqPHnFLo)
It is also worth mentioning that the backticks are not necessary for this particular prompt - since [kimono|dress]
is not a valid shortcode, Unprompted will assume you want to print it literally.
from unprompted.
basically i want to literarily have [kimono|dress] appear in my prompt when called from a choose file like this
[chose]
idk some choise
[kimono|dress]
[/chose]
and currently it stops at the |
from unprompted.
Hi @redstoneguy10ls,
Thank you for clarifying. This issue occurs because [choose]
splits options by two things: linebreaks and the standard delimiter, which is |
by default.
A couple possible solutions:
-
In your config file (or inside a
[config]
block), you can change the value ofConfig.syntax.delimiter
to something else. It can be more than one character long, if that helps. -
I just released Unprompted v11.0.2, which includes the new special string
%PIPE%
. If you use this in a prompt, it will circumvent the normal sanitization rules and will be replaced with|
after Unprompted finishes processing. Example:
Let me know if you have any further questions. Thank you.
from unprompted.
Related Issues (20)
- show the controlnet image after generation HOT 3
- ImageIO does not generally support reading folders. HOT 2
- (ERROR) Failed to install opencv-python dependency for Unprompted - [faceswap] insightface functions may not work HOT 2
- unable to write .json files _all_external and _external flags HOT 2
- processor_res vars won't work with sdxl controlnets HOT 4
- txt2mask with batch only applying to first image with "inpaint not masked"
- Bodysnatcher + Adetailer: Pillow fails when inverting txt2mask: OSError: not supported for this image mode HOT 2
- Secondary shortcode not working with filter_tags HOT 1
- Impossible to make good txt2mask composites
- Guide to how to use Bodysnatcher HOT 1
- Lost ability to set controlnet_#_image variables per batch_count_index HOT 2
- How detect loaded model HOT 1
- Unprompted doesn't work, no shortcodes recognized, treated as plain text. Running in CPU mode.
- lora ignored on batch count > 1 HOT 1
- PNGInfo wrong HOT 1
- Disable pnginfo HOT 2
- Unprompted passing wrong arguments (too many, wrong order) to img2Img HOT 3
- Seeds are deterministic? HOT 2
- txt2img2img non functional. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unprompted.