GithubHelp home page GithubHelp logo

cybertimon / stable-diffusion-styles Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 3.98 MB

In this repo, you can easily create stunning stable diffusion images using the premade prompts styles and a nice flask chat-like webui.

License: Apache License 2.0

Python 40.25% HTML 59.75%

stable-diffusion-styles's People

Contributors

cybertimon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

intensesunlight

stable-diffusion-styles's Issues

Verbose mode won't work / small improvements

I found your small app and just wanted to give it a try. It's quite nice for playing around and easy to use.

The verbose mode is broken, because of a typo/ too many parameters in currentTime.strftime. The function only supports 1 parameter.

Fix:
print("\nPrompt:", sd_prompt, "\nOrientation:", orientation, "\nStyle:", style, "\nIP:", ip, "\nTime:", currentTime.strftime("%H:%M:%S"), "\nTranslated Prompt:", translated_prompt)

Another small improvement, would be to supply the A1111 webui url/port as a complete url including http/ https. Otherwise you run into the following error:
No connection adapters were found for {url!r}

Fix:
webui_url = "http://127.0.0.1:7860"

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.