question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Community Pipeline] Wildcards

See original GitHub issue

Intro

Community Pipelines are introduced in diffusers==0.4.0 with the idea of allowing the community to quickly add, integrate, and share their custom pipelines on top of diffusers.

You can find a guide about Community Pipelines here. You can also find all the community examples under examples/community/. If you have questions about the Community Pipelines feature, please head to the parent issue.

Idea: Wildcards

Wildcards is an idea from @jtkelm2 for Automatic1111 Web UI. This is a copy paste (with slight modifications) from the official wiki

Script support so prompts can contain wildcard terms (indicated by surrounding double underscores), with values instantiated randomly from a corresponding txt file (or a list of strings)

a woman at a cafe by artist and artist

will draw two random artists from artist.txt. This works independently on each prompt, so that one can e.g. generate a batch of 100 images with the same prompt input using wildcards, and each output will have unique artists (or styles, or genres, or anything that the user creates their own .txt file for) attached to it.

Resources

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
WASasquatchcommented, Oct 19, 2022

I have something similar, which this seems to be based upon idea: https://github.com/WASasquatch/noodle-soup-prompts [Wiki] (Seems to be my artist list)

I have been suggested to move my system to a file-system for ease of management, but I do like how easy it is to distribute JSON.

This is more meant for the end developer to easily implement and parse prompts before hitting diffusers, so that the prompt is like a normal well-formed prompt.

2reactions
patrickvonplatencommented, Oct 17, 2022

In general, the philosophy is to open a PR that is already in a reasonable state to have this issue be assigned to you. Then we can all work on the same PR 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for wild cards and conditional expressions in YAML ...
In this sprint, we included support for wild cards and conditional expressions to YAML pipeline files.
Read more >
Wildcards in pipeline dependencies #5252 - iterative/dvc
For instance, let's say I have a data step in my pipeline which makes use of some source files. I'd like to specify...
Read more >
Wildcards in stage deps? - Questions - Community Forum - DVC
Is it possible to specify dependancies for a stage using wildcard characters (aka glob)? I would like to be able to write something...
Read more >
Wildcard Searching within Pipeline Rule - Graylog Community
Hello Fellow GL enthusiasts!! Trying to do a simple REGEX match on file names. I'm trying to pull out any file in the...
Read more >
Using simple wildcards in a Filter Snap? - Designing Pipelines
I have a pretty simple Pipeline that gets a directory listing from Box, filters those files according to their filename, then calls Pipeline...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found