treadon commited on
Commit
886947c
·
verified ·
1 Parent(s): e69880f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +8 -8
README.md CHANGED
@@ -38,17 +38,11 @@ An [MLX](https://github.com/ml-explore/mlx) port of [NucleusAI/Nucleus-Image](ht
38
 
39
  ## Usage
40
 
41
- ### Option A: Clone and run (recommended)
42
-
43
  ```bash
44
- git clone https://huggingface.co/treadon/mlx-nucleus-image
45
- cd mlx-nucleus-image
46
  pip install mlx torch transformers huggingface_hub pillow
47
-
48
- python generate.py --prompt "A red apple on a white table" --seed 42
49
  ```
50
 
51
- ### Option B: Python API (no clone needed)
52
 
53
  ```python
54
  import torch, gc
@@ -92,7 +86,13 @@ img.save("output.png")
92
 
93
  > First run downloads ~16GB (text encoder) + ~34GB (DiT/VAE weights). Cached by HuggingFace after that.
94
 
95
- ### CLI options
 
 
 
 
 
 
96
 
97
  | Flag | Default | Description |
98
  |------|---------|-------------|
 
38
 
39
  ## Usage
40
 
 
 
41
  ```bash
 
 
42
  pip install mlx torch transformers huggingface_hub pillow
 
 
43
  ```
44
 
45
+ ### Python API
46
 
47
  ```python
48
  import torch, gc
 
86
 
87
  > First run downloads ~16GB (text encoder) + ~34GB (DiT/VAE weights). Cached by HuggingFace after that.
88
 
89
+ ### CLI
90
+
91
+ ```bash
92
+ git clone https://huggingface.co/treadon/mlx-nucleus-image
93
+ cd mlx-nucleus-image
94
+ python generate.py --prompt "A red apple on a white table" --seed 42
95
+ ```
96
 
97
  | Flag | Default | Description |
98
  |------|---------|-------------|