• Stars
    star
    386
  • Rank 110,922 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 1 year ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

stable-diffusion-webui-promptgen

Prompt generator

An extension for webui that lets you generate prompts.

Getting more models online

You can add models from huggingface to the selection of models in setting. The setting field is Hugginface model names for promptgen, separated by comma, and its default value is just:

AUTOMATIC/promptgen-lexart, AUTOMATIC/promptgen-majinai-safe, AUTOMATIC/promptgen-majinai-unsafe

Those are GPT2 finetunes I did on various datasets:

To add more models, add more items to the setting, for example like this:

AUTOMATIC/promptgen-lexart, AUTOMATIC/promptgen-majinai-safe, AUTOMATIC/promptgen-majinai-unsafe, succinctly/text2image-prompt-generator, microsoft/Promptist

Reloading UI is required to apply this setting.

Getting more models offline

Put your models into the models directort inside the extension. For example, my model can be made fully offline by placing fines from https://huggingface.co/AUTOMATIC/promptgen-lexart/tree/main into those directories:


 📁 webui root directory
 ┗━━ 📁 extensions
     ┗━━ 📁 stable-diffusion-webui-promptgen
         ┗━━ 📁 models                            
             ┗━━ 📁 promptgen-lexart              <----- any name can be used
                 ┣━━ 📄 config.json               <----- each model has its own set of required files;
                 ┣━━ 📄 merges.txt                       mine requires all those
                 ┣━━ 📄 pytorch_model.bin
                 ┣━━ 📄 tokenizer_config.json
                 ┗━━ 📄 vocab.json

Reloading UI is required to see new models.

More Repositories

1

stable-diffusion-webui

Stable Diffusion web UI
Python
140,578
star
2

stable-diffusion-webui-feature-showcase

Feature showcase for stable-diffusion-webui
920
star
3

stable-diffusion-webui-rembg

Removes backgrounds from pictures. Extension for webui.
Python
835
star
4

stable-diffusion-webui-extensions

Extension index for stable-diffusion-webui
485
star
5

stable-diffusion-webui-pixelization

stable-diffusion-webui-pixelization
Python
470
star
6

stable-diffusion-webui-aesthetic-gradients

Aesthetic gradients extension for web ui
Python
384
star
7

stable-diffusion-webui-wildcards

Wildcards
Python
353
star
8

stable-diffusion-webui-tensorrt

Python
282
star
9

stable-diffusion-webui-tokenizer

An extension for stable-diffusion-webui that adds a tab that lets you preview how CLIP model would tokenize your text.
Python
119
star
10

TorchDeepDanbooru

Pure pytorch implementation of DeepDanbooru
Python
100
star
11

stable-diffusion-webui-nsfw-censor

stable-diffusion-webui-nsfw-censor
Python
85
star
12

4chan-captcha-solver

4chan captcha solver userscript
81
star
13

3ds-shell

3DS Windows Explorer extension
C++
21
star
14

stable-diffusion-webui-old-localizations

CSS
17
star
15

KoikatsuMods

Koikatsu Mods
C#
14
star
16

Autocleaner

C#
11
star
17

GradientHair

Gradient Hair
C#
10
star
18

RecipeIcons

Icons for Rimworld context menus
C#
9
star
19

StartupImpact

Startup Impact
C#
9
star
20

WhiteOnly

White Only
C#
6
star
21

BionicIcons

Bionic Icons
C#
5
star
22

Rimlaser

A mod for Rimworld game
C#
4
star
23

HighQualityTextures

High Quality Textures
C#
4
star
24

Radiology

Radiology
C#
4
star
25

Autolinks

Rimworld mod. Automatically adds hyperlinks to descriptions.
C#
4
star
26

Gunplay

C#
4
star
27

HairDye

Hair Dye
C#
4
star
28

IntoTheBreachLua

Lua proxy library for Into The Breach game
C
4
star
29

tf-palette

Tesnorflow color quantization
Python
2
star
30

randdraw

Draws pictures using random shapes
C++
2
star
31

TraderShips

C#
2
star
32

jslife

Javascript game of life
JavaScript
2
star
33

PeacefulProtests

Rimworld mod: PeacefulProtests
C#
1
star