Rishi Desai commited on
Commit
fbe2bb9
·
1 Parent(s): 89d29bd

added in images

Browse files
README.md CHANGED
@@ -14,6 +14,13 @@ 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
  ## Installation
18
 
19
  ### Prerequisites
@@ -63,8 +70,138 @@ python demo.py
63
 
64
  ### Examples
65
 
66
- TODO
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  ## License
69
 
70
  [MIT License](LICENSE)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 520px; margin: 20px auto;">
18
+ <img src="examples/sukuna_4.png" alt="Sukuna example 4" style="width: 100%; height: auto;">
19
+ <img src="examples/sukuna_5.png" alt="Sukuna example 5" style="width: 100%; height: auto;">
20
+ <img src="examples/sukuna_6.png" alt="Sukuna example 6" style="width: 100%; height: auto;">
21
+ <img src="examples/sukuna_7.png" alt="Sukuna example 7" style="width: 100%; height: auto;">
22
+ </div>
23
+
24
  ## Installation
25
 
26
  ### Prerequisites
 
70
 
71
  ### Examples
72
 
73
+ <div class="examples-grid">
74
+ <div class="example-container">
75
+ <h5>User Prompt:</h5>
76
+ <p class="simple-prompt">holding a bow and arrow in a dense forest</p>
77
+
78
+ <h5>Optimized Prompt:</h5>
79
+ <p class="optimized-prompt">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</p>
80
+
81
+ <div class="example-image">
82
+ <img src="examples/sukuna_1.png" alt="Sukuna with bow and arrow">
83
+ </div>
84
+ </div>
85
+
86
+ <div class="example-container">
87
+ <h5>User Prompt:</h5>
88
+ <p class="simple-prompt">drinking coffee in a san francisco cafe, white cloak, side view</p>
89
+
90
+ <h5>Optimized Prompt:</h5>
91
+ <p class="optimized-prompt">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</p>
92
+
93
+ <div class="example-image">
94
+ <img src="examples/sukuna_2.png" alt="Sukuna drinking coffee">
95
+ </div>
96
+ </div>
97
+
98
+ <div class="example-container">
99
+ <h5>User Prompt:</h5>
100
+ <p class="simple-prompt">playing pick-up basketball on a sunny day</p>
101
+
102
+ <h5>Optimized Prompt:</h5>
103
+ <p class="optimized-prompt">tr1gg3r photorealistic, athletic build, sleeveless basketball jersey and shorts, jumping with ball, focused expression, outdoor basketball court with spectators, bright sunlight, low-angle view</p>
104
+
105
+ <div class="example-image">
106
+ <img src="examples/sukuna_3.png" alt="Sukuna playing basketball">
107
+ </div>
108
+ </div>
109
+ </div>
110
+
111
+
112
+ <div class="examples-grid">
113
+ <div class="example-container">
114
+ <h5>User Prompt:</h5>
115
+ <p class="simple-prompt">riding a horse on a prairie during sunset</p>
116
+
117
+ <h5>Optimized Prompt:</h5>
118
+ <p class="optimized-prompt">tr1gger photorealistic, curly shoulder-length hair, floral button-up shirt, riding a horse, neutral expression, prairie during sunset, warm directional lighting, three-quarter view</p>
119
+
120
+ <div class="example-image">
121
+ <img src="examples/woman_1.png" alt="Woman riding a horse">
122
+ </div>
123
+ </div>
124
+
125
+ <div class="example-container">
126
+ <h5>User Prompt:</h5>
127
+ <p class="simple-prompt">painting on a canvas in an art studio, side-view</p>
128
+
129
+ <h5>Optimized Prompt:</h5>
130
+ <p class="optimized-prompt">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</p>
131
+
132
+ <div class="example-image">
133
+ <img src="examples/woman_2.png" alt="Woman painting in studio">
134
+ </div>
135
+ </div>
136
+
137
+ <div class="example-container">
138
+ <h5>User Prompt:</h5>
139
+ <p class="simple-prompt">standing on a skyscraper in a dense city, dramatic stormy lighting, rear view</p>
140
+
141
+ <h5>Optimized Prompt:</h5>
142
+ <p class="optimized-prompt">tr1gg3r photorealistic, curly shoulder-length hair, floral button-up shirt, standing upright, neutral expression, skyscraper rooftop in dense city, dramatic stormy lighting, back view</p>
143
+
144
+ <div class="example-image">
145
+ <img src="examples/woman_3.png" alt="Woman on skyscraper">
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>
examples/sukuna_1.png ADDED

Git LFS Details

  • SHA256: f3d8ffd03dab992992812bddcb94a6d501dc64242ecfdfde5778b96aa588b538
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB
examples/sukuna_2.png ADDED

Git LFS Details

  • SHA256: 89ec10582fd969a0a7134eab04e8781b36d9f235cfd5c5bd6d089a896301ffb5
  • Pointer size: 132 Bytes
  • Size of remote file: 1 MB
examples/sukuna_3.png ADDED

Git LFS Details

  • SHA256: 89686b3196bd8d0c065ff1cba38d0b7d1e02e87c45da00ac1e7f8f21532985f3
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
examples/sukuna_4.png ADDED

Git LFS Details

  • SHA256: c2440d9826aecf43509f6ef104e7cc21414753a93430f62e6e5dc67e634b86d5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.15 MB
examples/sukuna_5.png ADDED

Git LFS Details

  • SHA256: 29bd26bec70567fbdd8fe22fde22623b41bfc8bdd9c442bbcc25ac9f011a9d71
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
examples/sukuna_6.png ADDED

Git LFS Details

  • SHA256: 4f8725cd46bf94208982236325121d0f3e41e2fb594b43dd4e1ec19f40ecd5ac
  • Pointer size: 132 Bytes
  • Size of remote file: 1.08 MB
examples/sukuna_7.png ADDED

Git LFS Details

  • SHA256: 9dee80c19c2489a053b6cf0770e581dac58ad60a2fadeb260101a158fd024bc0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.07 MB
examples/woman_1.png ADDED

Git LFS Details

  • SHA256: 88c1f1c2a885d146da77888abb3ccfb510fa1fab8f717eb6d3594e72902759bb
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB
examples/woman_2.png ADDED

Git LFS Details

  • SHA256: 67b3ffd3f134444107dc7bea66f1353b39dd4fb19321a7ac1eb32c68ae879b31
  • Pointer size: 132 Bytes
  • Size of remote file: 1.2 MB
examples/woman_3.png ADDED

Git LFS Details

  • SHA256: aaa5e56e5c7d8a225d97fce29c7130a0fd48418e632083675db8e81596f6189b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.16 MB