Giter Site home page Giter Site logo

mackinationsai / sd3 Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 4.19 MB

An easy to use Streamlit App to generate images using either the SD3 or SD3-Turbo Stability.Ai models & a Gallery to view all the images you've generated as well!

Home Page: https://huggingface.co/spaces/MackinationsAi/SD3_WebUi

License: MIT License

Python 83.02% Batchfile 7.44% Shell 9.54%

sd3's Introduction

SD3 Image Generator _ Streamlit WebUI

SD3_webui_logo_image

Install

Clone this repository to anywhere on your system.

git clone https://github.com/MackinationsAi/SD3.git

Windows

[Prerequisites: python ≥ 3.10 & git ]

Once downloaded, click the install.bat file, then click the run_SD3.bat file & you'll be good to go.

MacOS

[Prerequisites: python3 ≥ 3.10 & homebrew (follow the installation steps found here ]

Now that homebrew & python3 installed on your machine (if they weren't already), open your main terminal & run the following command to install git, bash & pyenv then close terminal:

brew install git bash pyenv

Navigate to your SD3 folder & right-click on it. At the bottom of the pop-up menu you will see 'New Terminal at Folder' click on it. Terminal will be open at your

sed -i -e 's/\r$//' install.sh run_SD3.sh
sudo chmod 755 install.sh run_SD3.sh
bash install.sh

This will correct any errors when running .sh scripts made on windows, grant executable premissions for both .sh scripts & install everything need to run this repo. Upon completion terminal will close. Reopen terminal using the same method as above, & run the following command:

bash run_SD3.sh

You will be prompted in terminal by Streamlit for your email, just hit enter to ignore it & you'll be good to go. The SD3_WebUI will automatically open in your default browser, Happy Generating!

A Stability.Ai account is needed to get a SAI API Key in order to generate SD3 Images.

Release Notes

  • both text-to-image & image-to-image modes work
  • api key, prompts & seed are remembered throughout the whole session (unless you change them), so you can now move between your gallery and main sd3 page w/o having to worry

Live Huggingface Space to generate on the go! MackinationsAi/SD3_WebUi

WebUI

SD3_webui_image

Title Banner Image generated by - r/balianone & edited by MackinationsAi

sd3's People

Contributors

mackinationsai avatar

Stargazers

 avatar YunYuLai avatar  avatar  avatar  avatar

Watchers

 avatar

sd3's Issues

Load Error

Tried a fresh install, and both Firefox and Chrome. Getting this error on load in windows.

File "D:\SD3\SD3.py", line 51
st.image("static/SD3_webui_logo_image.png", use_column_width=True)
^
SyntaxError: invalid non-printable character U+00A0

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.