Spaces:
Paused
Paused
Rishi Desai
commited on
Commit
·
7332f5a
1
Parent(s):
02e8310
removing html/css
Browse files
README.md
CHANGED
|
@@ -14,12 +14,16 @@ pinned: false
|
|
| 14 |
- **Image Captioning**: Automatically generate detailed and structured captions for your LoRA dataset.
|
| 15 |
- **Prompt Optimization**: Enhance prompts during inference to achieve high-quality outputs.
|
| 16 |
|
| 17 |
-
<
|
| 18 |
-
<
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Installation
|
| 25 |
|
|
@@ -68,140 +72,82 @@ python demo.py
|
|
| 68 |
- **API errors**: Ensure your Together API key is set and has funds
|
| 69 |
- **Image formats**: Only .png, .jpg, .jpeg, and .webp files are supported
|
| 70 |
|
| 71 |
-
###
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
</div>
|
| 147 |
-
</div>
|
| 148 |
-
</div>
|
| 149 |
|
| 150 |
## License
|
| 151 |
|
| 152 |
[MIT License](LICENSE)
|
| 153 |
-
|
| 154 |
-
<style>
|
| 155 |
-
.examples-grid {
|
| 156 |
-
display: flex;
|
| 157 |
-
flex-direction: column;
|
| 158 |
-
gap: 1rem;
|
| 159 |
-
margin: 1rem 0;
|
| 160 |
-
}
|
| 161 |
-
|
| 162 |
-
.example-container {
|
| 163 |
-
border: 1px solid #e0e0e0;
|
| 164 |
-
border-radius: 6px;
|
| 165 |
-
padding: 1rem;
|
| 166 |
-
background-color: #f9f9f9;
|
| 167 |
-
}
|
| 168 |
-
|
| 169 |
-
.example-container h5 {
|
| 170 |
-
margin-top: 0;
|
| 171 |
-
margin-bottom: 0.25rem;
|
| 172 |
-
color: #333;
|
| 173 |
-
}
|
| 174 |
-
|
| 175 |
-
.simple-prompt {
|
| 176 |
-
font-weight: bold;
|
| 177 |
-
margin-bottom: 0.5rem;
|
| 178 |
-
}
|
| 179 |
-
|
| 180 |
-
.optimized-prompt {
|
| 181 |
-
font-family: monospace;
|
| 182 |
-
background-color: #f0f0f0;
|
| 183 |
-
padding: 0.5rem;
|
| 184 |
-
border-radius: 4px;
|
| 185 |
-
white-space: pre-wrap;
|
| 186 |
-
word-break: break-word;
|
| 187 |
-
margin-bottom: 0.75rem;
|
| 188 |
-
}
|
| 189 |
-
|
| 190 |
-
.example-image img {
|
| 191 |
-
width: 100%;
|
| 192 |
-
max-width: 400px;
|
| 193 |
-
border-radius: 4px;
|
| 194 |
-
display: block;
|
| 195 |
-
margin: 0 auto;
|
| 196 |
-
}
|
| 197 |
-
|
| 198 |
-
@media (min-width: 768px) {
|
| 199 |
-
.examples-grid {
|
| 200 |
-
gap: 1.5rem;
|
| 201 |
-
}
|
| 202 |
-
|
| 203 |
-
.example-container {
|
| 204 |
-
padding: 1.25rem;
|
| 205 |
-
}
|
| 206 |
-
}
|
| 207 |
-
</style>
|
|
|
|
| 14 |
- **Image Captioning**: Automatically generate detailed and structured captions for your LoRA dataset.
|
| 15 |
- **Prompt Optimization**: Enhance prompts during inference to achieve high-quality outputs.
|
| 16 |
|
| 17 |
+
<table>
|
| 18 |
+
<tr>
|
| 19 |
+
<td><img src="examples/sukuna_4.png" alt="Sukuna example 4" width="400"></td>
|
| 20 |
+
<td><img src="examples/sukuna_5.png" alt="Sukuna example 5" width="400"></td>
|
| 21 |
+
</tr>
|
| 22 |
+
<tr>
|
| 23 |
+
<td><img src="examples/sukuna_6.png" alt="Sukuna example 6" width="400"></td>
|
| 24 |
+
<td><img src="examples/sukuna_7.png" alt="Sukuna example 7" width="400"></td>
|
| 25 |
+
</tr>
|
| 26 |
+
</table>
|
| 27 |
|
| 28 |
## Installation
|
| 29 |
|
|
|
|
| 72 |
- **API errors**: Ensure your Together API key is set and has funds
|
| 73 |
- **Image formats**: Only .png, .jpg, .jpeg, and .webp files are supported
|
| 74 |
|
| 75 |
+
### Sukuna from Jujutsu Kaisen
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
**User Prompt:**
|
| 80 |
+
holding a bow and arrow in a dense forest
|
| 81 |
+
|
| 82 |
+
**Optimized Prompt:**
|
| 83 |
+
```
|
| 84 |
+
tr1gg3r anime-style, pink spiky hair and black markings on face, shirtless with dark arm bands, holding bow and arrow, focused expression, dense forest, soft dappled lighting, three-quarter view
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
|
| 89 |
+
---
|
| 90 |
+
|
| 91 |
+
**User Prompt:**
|
| 92 |
+
drinking coffee in a san francisco cafe, white cloak, side view
|
| 93 |
+
|
| 94 |
+
**Optimized Prompt:**
|
| 95 |
+
```
|
| 96 |
+
tr1gg3r anime-style, spiky pink hair and facial markings, white cloak, sitting with cup in hand, neutral expression, cafe interior with san francisco view, soft natural lighting, side profile
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+

|
| 100 |
+
|
| 101 |
+
---
|
| 102 |
+
|
| 103 |
+
**User Prompt:**
|
| 104 |
+
playing pick-up basketball on a sunny day
|
| 105 |
+
|
| 106 |
+
**Optimized Prompt:**
|
| 107 |
+
```
|
| 108 |
+
tr1gg3r photorealistic, athletic build, sleeveless basketball jersey and shorts, jumping with ball, focused expression, outdoor basketball court with spectators, bright sunlight, low-angle view
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
|
| 113 |
+
---
|
| 114 |
+
|
| 115 |
+
### A character generated by Flux.1-dev
|
| 116 |
+
|
| 117 |
+
**User Prompt:**
|
| 118 |
+
riding a horse on a prairie during sunset
|
| 119 |
+
|
| 120 |
+
**Optimized Prompt:**
|
| 121 |
+
```
|
| 122 |
+
tr1gger photorealistic, curly shoulder-length hair, floral button-up shirt, riding a horse, neutral expression, prairie during sunset, warm directional lighting, three-quarter view
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+

|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
|
| 129 |
+
**User Prompt:**
|
| 130 |
+
painting on a canvas in an art studio, side-view
|
| 131 |
+
|
| 132 |
+
**Optimized Prompt:**
|
| 133 |
+
```
|
| 134 |
+
tr1gg3r photorealistic, curly shoulder-length hair, floral button-up shirt, standing at an angle with brush in hand, neutral expression, art studio with canvas and paints, soft natural lighting, right side profile
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+

|
| 138 |
+
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
**User Prompt:**
|
| 142 |
+
standing on a skyscraper in a dense city, dramatic stormy lighting, rear view
|
| 143 |
+
|
| 144 |
+
**Optimized Prompt:**
|
| 145 |
+
```
|
| 146 |
+
tr1gg3r photorealistic, curly shoulder-length hair, floral button-up shirt, standing upright, neutral expression, skyscraper rooftop in dense city, dramatic stormy lighting, back view
|
| 147 |
+
```
|
| 148 |
+
|
| 149 |
+

|
|
|
|
|
|
|
|
|
|
| 150 |
|
| 151 |
## License
|
| 152 |
|
| 153 |
[MIT License](LICENSE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|