File size: 1,208 Bytes
00e6a50
 
 
 
 
 
 
 
 
 
5722ed6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f047449
5722ed6
 
 
 
 
 
00e6a50
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: Stable Diffusion Cpu
emoji: 📈
colorFrom: gray
colorTo: gray
sdk: gradio
sdk_version: 3.34.0
app_file: app.py
pinned: false
---
# Stable Diffusion Prompt Creator

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.

## Features

-   Generate prompts based on a starting text entered by the user
-   Uses a pre-trained language model to generate the prompt
-   Option to select examples or enter own starting text

## Usage

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.

## Technical details

The app uses Gradio 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.

## Requirements

-   Python 3.6 or higher
-   Gradio
-   Transformers (Hugging Face)

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference