Giter VIP home page Giter VIP logo

kaludii / stable-diffusion-prompt-generator Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 3.0 63 KB

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

Python 100.00%
stable-diffusion prompt-creator ai machine-learning model prompt streamlit trained

stable-diffusion-prompt-generator's Introduction

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

stable-diffusion-prompt-generator's People

Contributors

kaludii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stable-diffusion-prompt-generator's Issues

Black Text

I can't read the text because it's black in the web ui

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.