arda-argmax
commited on
Commit
•
58e675f
1
Parent(s):
84238c8
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,32 @@
|
|
1 |
---
|
2 |
library_name: mlx
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
library_name: mlx
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
license: apache-2.0
|
6 |
+
tags:
|
7 |
+
- text-to-image
|
8 |
+
- image-generation
|
9 |
+
- flux
|
10 |
+
---
|
11 |
+
# FLUX.1-schnell on MLX!
|
12 |
+
## Check out the [original model](https://huggingface.co/black-forest-labs/FLUX.1-schnell)
|
13 |
+
![FLUX.1 [schnell] Grid](./flux_on_mac.png)
|
14 |
+
# Usage
|
15 |
+
- ## Create conda environment
|
16 |
+
```shell
|
17 |
+
conda create -n diffusionkit python=3.11 -y
|
18 |
+
conda activate diffusionkit
|
19 |
+
pip install diffusionkit
|
20 |
+
```
|
21 |
+
- ## Run the cli command
|
22 |
+
```shell
|
23 |
+
diffusionkit-cli --prompt "detailed cinematic dof render of a \
|
24 |
+
detailed MacBook Pro on a wooden desk in a dim room with items \
|
25 |
+
around, messy dirty room. On the screen are the letters 'FLUX on \
|
26 |
+
DiffusionKit' glowing softly. High detail hard surface render" \
|
27 |
+
--height 768 \
|
28 |
+
--width 1360 \
|
29 |
+
--seed 1001 \
|
30 |
+
--step 4 \
|
31 |
+
--output ~/Desktop/flux_on_mac.png
|
32 |
+
```
|