YuLexuan30 commited on
Commit
93c2cac
·
verified ·
1 Parent(s): 045c40d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -84
README.md CHANGED
@@ -1,85 +1,85 @@
1
- ---
2
- title: Chroma
3
- emoji: 🔥
4
- colorFrom: blue
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 5.14.0
8
- app_file: app.py
9
- pinned: true
10
- license: apache-2.0
11
- ---
12
-
13
- # Chroma Image Generator
14
-
15
- A Gradio app for generating images using the [Chroma](https://huggingface.co/lodestones/Chroma) model by [lodestones](https://huggingface.co/lodestones).
16
-
17
- ## Features
18
-
19
- - **High-quality image generation** using the Chroma model
20
- - **Customizable parameters**: width, height, steps, CFG scale, and seed
21
- - **Pre-cached examples** for instant preview and testing
22
- - **Professional UI** with Gradio interface
23
-
24
- ## Example Prompts
25
-
26
- The app includes 11 pre-configured example prompts with optimized parameters:
27
-
28
- 1. **High-fashion portrait** with anaglyph 3D effect
29
- 2. **Young man** with captain's hat and sunglasses
30
- 3. **Shiba Inu** with captain's hat and sunglasses
31
- 4. **Impressionistic sailing painting**
32
- 5. **Anthro wolf** in forest setting
33
- 6. **Dragon with galaxy wings** over castle
34
- 7. **Anthro dog** in NYC apartment
35
- 8. **Leopard geckos collage**
36
- 9. **Anthro wolf plushie collage**
37
- 10. **Telegram sticker** anthro fox
38
- 11. **Tiger eye** with 'Chroma' text overlay
39
-
40
- ## Caching
41
-
42
- The app uses Gradio's built-in `cache_examples=True` feature to pre-generate and cache all example images. This means:
43
-
44
- - **Instant results** when clicking on examples
45
- - **No waiting time** for cached examples
46
- - **Automatic cache management** by Gradio
47
- - **Faster user experience** for trying different prompts
48
-
49
- ## Usage
50
-
51
- 1. **Manual input**: Enter your own prompt and adjust parameters
52
- 2. **Use examples**: Click on any example to load it instantly
53
- 3. **Customize**: Modify example prompts to create variations
54
- 4. **Generate**: Click the Generate button to create new images
55
-
56
- ## Parameters
57
-
58
- - **Prompt**: Describe what you want to generate
59
- - **Negative Prompt**: Describe what you want to avoid
60
- - **Width/Height**: Image dimensions (512-2048px)
61
- - **Steps**: Number of denoising steps (1-50)
62
- - **CFG Scale**: How closely to follow the prompt (1-20)
63
- - **Seed**: Random seed for reproducible results (-1 for random)
64
-
65
- ## Technical Details
66
-
67
- - Built with **Gradio** for the web interface
68
- - Uses **ComfyUI** workflow backend
69
- - Powered by **Chroma** diffusion model
70
- - Supports **GPU acceleration** with Spaces
71
- - **Automatic caching** for optimal performance
72
-
73
- ## Running Locally
74
-
75
- ```bash
76
- python app.py
77
- ```
78
-
79
- The app will start and be available at `http://localhost:7860`
80
-
81
- ## Cache Directory
82
-
83
- Examples are cached in the `gradio_cached_examples` directory. To rebuild the cache (if examples change), delete this directory and restart the app.
84
-
85
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ ---
2
+ title: Chroma Latest
3
+ emoji: 🔥
4
+ colorFrom: blue
5
+ colorTo: pink
6
+ sdk: gradio
7
+ sdk_version: 5.14.0
8
+ app_file: app.py
9
+ pinned: true
10
+ license: apache-2.0
11
+ ---
12
+
13
+ # Chroma Image Generator
14
+
15
+ A Gradio app for generating images using the [Chroma](https://huggingface.co/lodestones/Chroma) model by [lodestones](https://huggingface.co/lodestones).
16
+
17
+ ## Features
18
+
19
+ - **High-quality image generation** using the Chroma model
20
+ - **Customizable parameters**: width, height, steps, CFG scale, and seed
21
+ - **Pre-cached examples** for instant preview and testing
22
+ - **Professional UI** with Gradio interface
23
+
24
+ ## Example Prompts
25
+
26
+ The app includes 11 pre-configured example prompts with optimized parameters:
27
+
28
+ 1. **High-fashion portrait** with anaglyph 3D effect
29
+ 2. **Young man** with captain's hat and sunglasses
30
+ 3. **Shiba Inu** with captain's hat and sunglasses
31
+ 4. **Impressionistic sailing painting**
32
+ 5. **Anthro wolf** in forest setting
33
+ 6. **Dragon with galaxy wings** over castle
34
+ 7. **Anthro dog** in NYC apartment
35
+ 8. **Leopard geckos collage**
36
+ 9. **Anthro wolf plushie collage**
37
+ 10. **Telegram sticker** anthro fox
38
+ 11. **Tiger eye** with 'Chroma' text overlay
39
+
40
+ ## Caching
41
+
42
+ The app uses Gradio's built-in `cache_examples=True` feature to pre-generate and cache all example images. This means:
43
+
44
+ - **Instant results** when clicking on examples
45
+ - **No waiting time** for cached examples
46
+ - **Automatic cache management** by Gradio
47
+ - **Faster user experience** for trying different prompts
48
+
49
+ ## Usage
50
+
51
+ 1. **Manual input**: Enter your own prompt and adjust parameters
52
+ 2. **Use examples**: Click on any example to load it instantly
53
+ 3. **Customize**: Modify example prompts to create variations
54
+ 4. **Generate**: Click the Generate button to create new images
55
+
56
+ ## Parameters
57
+
58
+ - **Prompt**: Describe what you want to generate
59
+ - **Negative Prompt**: Describe what you want to avoid
60
+ - **Width/Height**: Image dimensions (512-2048px)
61
+ - **Steps**: Number of denoising steps (1-50)
62
+ - **CFG Scale**: How closely to follow the prompt (1-20)
63
+ - **Seed**: Random seed for reproducible results (-1 for random)
64
+
65
+ ## Technical Details
66
+
67
+ - Built with **Gradio** for the web interface
68
+ - Uses **ComfyUI** workflow backend
69
+ - Powered by **Chroma** diffusion model
70
+ - Supports **GPU acceleration** with Spaces
71
+ - **Automatic caching** for optimal performance
72
+
73
+ ## Running Locally
74
+
75
+ ```bash
76
+ python app.py
77
+ ```
78
+
79
+ The app will start and be available at `http://localhost:7860`
80
+
81
+ ## Cache Directory
82
+
83
+ Examples are cached in the `gradio_cached_examples` directory. To rebuild the cache (if examples change), delete this directory and restart the app.
84
+
85
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference