Silence1412
commited on
Commit
•
5722ed6
1
Parent(s):
3a7ed92
Update README.md
Browse files
README.md
CHANGED
@@ -8,5 +8,28 @@ sdk_version: 3.34.0
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
+
# Stable Diffusion Prompt Creator
|
12 |
+
|
13 |
+
Created for [this](https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion) model trained by Gustavosta for Stable Diffusion to create a prompt from a few words. You can submit your own text or select from provided examples.
|
14 |
+
|
15 |
+
## Features
|
16 |
+
|
17 |
+
- Generate prompts based on a starting text entered by the user
|
18 |
+
- Uses a pre-trained language model to generate the prompt
|
19 |
+
- Option to select examples or enter own starting text
|
20 |
+
|
21 |
+
## Usage
|
22 |
+
|
23 |
+
To use the app, enter a starting text in the input field or select an example from the provided examples. Then click on the "Generate" button to generate a prompt based on the starting text.
|
24 |
+
|
25 |
+
## Technical details
|
26 |
+
|
27 |
+
The app uses Streamlit for the user interface and the Hugging Face Transformers library to access the pre-trained language model. The model is a GPT-2 language model trained for Stable Diffusion.
|
28 |
+
|
29 |
+
## Requirements
|
30 |
+
|
31 |
+
- Python 3.6 or higher
|
32 |
+
- Gradio
|
33 |
+
- Transformers (Hugging Face)
|
34 |
|
35 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|