Skip to content

Commit 79beaaa

Browse files
committed
added readme
1 parent 6123df1 commit 79beaaa

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

MagicPrompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def generate(model, prompt, temperature, top_k, min_length, max_length, repetiti
146146
with gr.Row():
147147
with gr.Column(scale=80):
148148
text_input = gr.Textbox(
149-
lines=2, show_label=False, value="Cute girl", placeholder="Enter your prompt...")
149+
lines=2, show_label=False, value="", placeholder="Enter your prompt...")
150150
with gr.Column(scale=10):
151151
submit = gr.Button('Generate', variant='primary')
152152
with gr.Row():

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# MagicPrompt Generator
2+
3+
Prompt Generator for Stable Diffusion/Midjourney on GPT-2 models
4+
5+
![](screenshot.png)
6+
7+
Includes model:
8+
- FredZhang7/distilgpt2-stable-diffusion-v2
9+
- Gustavosta/MagicPrompt-Stable-Diffusion
10+
- AUTOMATIC/promptgen-lexart
11+
- AUTOMATIC/promptgen-majinai-unsafe
12+
- succinctly/text2image-prompt-generator
13+
14+
## How to use
15+
16+
Run launch.bat (windows) or launch.sh (linux)
17+
18+
To add models, modify the `models.yaml` file.
19+
20+
Based on @RassilonSleeps and @Gustavosta

screenshot.png

130 KB
Loading

0 commit comments

Comments
 (0)