https://github.com/captainzero93/sd-webui-bubble-prompter
AUTOMATIC1111 port of Bubble Prompter by pols on HF
https://github.com/captainzero93/sd-webui-bubble-prompter
Last synced: about 1 year ago
JSON representation
AUTOMATIC1111 port of Bubble Prompter by pols on HF
- Host: GitHub
- URL: https://github.com/captainzero93/sd-webui-bubble-prompter
- Owner: captainzero93
- Created: 2024-07-31T18:09:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T17:49:03.000Z (over 1 year ago)
- Last Synced: 2025-04-02T17:11:12.510Z (about 1 year ago)
- Language: Python
- Size: 83 KB
- Stars: 19
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BETA - Bubble Prompter Extension for Stable Diffusion WebUI
This extension adds (v.) simple Bubble Prompter ( by pols on HF ) functionality to the AUTOMATIC1111 Stable Diffusion web UI.
## Features
- Category-based word selection
- Random word addition
- Text processing utilities (replace spaces, clean commas, remove duplicates)
- Word emphasis and mitigation
## Installation
1. Clone this repository into the `extensions` folder of your Stable Diffusion WebUI installation:
git clone https://github.com/captainzero93/sd-webui-bubble-prompter.git bubble-prompter
2. Restart the WebUI.
## Usage
1. Open the WebUI and navigate to the txt2img or img2img tab.
2. Expand the "Bubble Prompter" accordion.
3. Use the dropdowns to select categories and words.
4. Utilize the buttons to manipulate your prompt text.
5. Click "Process" to finalize your prompt.
## todo; Cleanup code, make the GUI nice
## Files
- `scripts/bubble_prompter.py`: Main Python script for the extension
- `javascript/bubble_prompter.js`: JavaScript file for client-side functionality
- `styles.css`: CSS styles for the Bubble Prompter UI
- `install.py`: Installation script for required dependencies
- Various CSV files: Data files for categories and words
## Contributing
The UI is extremely simplistic in this implimentation, I have left the basic framework to restore the GUI if some one would like to do it.
Contributions are welcome! Please feel free to submit a Pull Request.
## Acknowledgements:
https://huggingface.co/spaces/pols/Bubble_Prompter