Skip to main content

tldream

A tiny little diffusion drawing app

total download version Open in Colab

https://user-images.githubusercontent.com/3998421/223580181-6375fc76-414a-4837-b7ab-4fb07509afd3.mp4

Features

  • Support any Stable Diffusion 1.5 model on HuggingFace or local ckpt/safetensors
  • Support multi-language translation: zh, ja, ko, ru

Quick Start

# In order to use the GPU, install cuda version of pytorch first.
# pip install torch==1.13.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install tldream
tldream --model runwayml/stable-diffusion-v1-5 --device cuda

If you are not familiar with python/pip, you can try this installer: Windows 1-click Installer

Command line arguments

  • --listen / --no-listen: If true, start server at 0.0.0.0 [default: no-listen]
  • --port INTEGER: [default: 4242]
  • --device TEXT: Device to use (cuda, cpu or mps) [default: cuda]
  • --model TEXT: Any HuggingFace Stable Diffusion model id. Or local ckpt/safetensors path [default: runwayml/stable-diffusion-v1-5]
  • --lang TEXT: Translation language model. ['en', 'zh', 'ja', 'ko', 'ru'] [default: en]
  • --low-vram / --no-low-vram: Use low vram mode [default: no-low-vram]
  • --fp32 / --no-fp32: Use float32 mode (For NVIDIA 16xx GPU) [default: no-fp32]
  • --nsfw-filter / --no-nsfw-filter: Enable nsfw filter [default: nsfw-filter]
  • --cache-dir TEXT: Model cache directory, by default model downloaded to ~/.cache/huggingface/hub
  • --local-files-only / --no-local-files-only: Not connect to HuggingFace server, add this flag if model has been downloaded [default: no-local-files-only]

Metadata

Release files for tldream 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tldream 0.6.1
File Size Uploaded Provenance Actions
tldream-0.6.1.tar.gz 13.7 MB Without provenance Details for tldream-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tldream 0.6.1
File Interpreter ABI Platform Actions
tldream-0.6.1-py3-none-any.whl Python 3 none any Details for tldream-0.6.1-py3-none-any.whl

Total release size: 27.4 MB

Release files / tldream-0.6.1.tar.gz

Download URL tldream-0.6.1.tar.gz
Size 13.7 MB
Tags Source
SHA-256 checksum
How to use checksums
c8d95add7a37a684e85e614f98b7938c0677f493a912550db40f05d687fa446a
BLAKE2b-256 checksum
How to use checksums
007ceb6bea7f5d3ade8e16146e5a4ee8aa7988644445d09bccd5a71031ac19b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / tldream-0.6.1-py3-none-any.whl

Download URL tldream-0.6.1-py3-none-any.whl
Size 13.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1fc086e7cf58e06ee6fde0cbe847f6d945654253836e5723b313b765a16b46f2
BLAKE2b-256 checksum
How to use checksums
b822790ef395adb3c28324442190eb15fe85c4ec557595d234528dd7da44dbc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for tldream 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page