Skip to main content

A simple GTK UI for Stable Diffusion.

Project description

The GTK Stable Diffusion is a very simple text-to-image tool. The tool is based on [GTK](https://en.wikipedia.org/wiki/GTK) UI framework and [Diffusers](https://github.com/huggingface/diffusers)’ [Stable Diffusion](https://en.wikipedia.org/wiki/Stable_Diffusion) text-to-image pipeline.

GTK Stable Diffusion aims just for fun. This means the tool is more focusing on ~~spells~~ prompts than many small adjustments and random generations.

Installation

GTK Stable Diffusion is easily installable via pip command: `bash pip install gtk_stable_diffusion ` or `bash pip install git+https://github.com/nazodane/gtk_stable_diffusion.git `

The installed tool is in ~/.local/bin/ directory: `bash ~/.local/bin/gtk-stable-diffusion `

Note that the model weights are automatically downloaded via [BitTorrent magnet link](https://en.wikipedia.org/wiki/Magnet_URI_scheme) using [libtorrent](https://en.wikipedia.org/wiki/Libtorrent) and the model weights are automatically converted from original Stable Diffusion format to Diffusers format in the first launch of the tool.

Requirements

  • Ubuntu 22.04 or later

  • Python 3.10 or later

  • CUDA 11.7 or later

  • higher VRAM and DRAM

Recommendations

  • RTX 3060 12GB or higher

  • DRAM 32GB

  • Faster non-restricted internet connection

License

GTK Stable Diffusion codes are under Apache License 2.0. This is because we almost depend on Diffusers.

GTK and [its Python bindings are LGPL](https://www.gtk.org/docs/language-bindings/python) so we should carefully treat GTK-related codes.

Screenshot

![Screenshot Image](screenshot.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtk_stable_diffusion-0.0.5.4.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gtk_stable_diffusion-0.0.5.4-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file gtk_stable_diffusion-0.0.5.4.tar.gz.

File metadata

  • Download URL: gtk_stable_diffusion-0.0.5.4.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.12 CPython/3.10.6

File hashes

Hashes for gtk_stable_diffusion-0.0.5.4.tar.gz
Algorithm Hash digest
SHA256 8f24cbd0db77df022700b2b4920162d669b209ab117c87679222185801fe316c
MD5 38d4cbf2704d29390f3ae30774dcf4c3
BLAKE2b-256 612cbe60bd40994b3855cde18d7dc1a05e141d3cfd7e247140fc73cea8e126c6

See more details on using hashes here.

File details

Details for the file gtk_stable_diffusion-0.0.5.4-py3-none-any.whl.

File metadata

  • Download URL: gtk_stable_diffusion-0.0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.12 CPython/3.10.6

File hashes

Hashes for gtk_stable_diffusion-0.0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd81bd34d9f3d2288719415f9007d488d395a44c9fb03ae25b096903e401735
MD5 3757b43791aa489202aa70fba7605034
BLAKE2b-256 edc39978b89cf68f22e9ab6d2b3897a3fda4096b5b6a3ffe7533f05de404c478

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page