Kaludii / Stable-Diffusion-Prompt-Generator

Created for this 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.

Home Page:https://huggingface.co/spaces/Kaludi/Stable-Diffusion-Prompt-Generator_App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stable Diffusion Prompt Creator

Created for this 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.

Web App

Click Here To View This App Online!

Image

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 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.

Requirements

  • Python 3.6 or higher
  • Streamlit
  • Transformers (Hugging Face)

Installation

  1. Clone the repository:

git clone https://github.com/Kaludii/Stable-Diffusion-Prompt-Generator.git

  1. Install the required packages:

pip install streamlit transformers

  1. Run the app:

streamlit run app.py

About

Created for this 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.

https://huggingface.co/spaces/Kaludi/Stable-Diffusion-Prompt-Generator_App


Languages

Language:Python 100.0%