Spaces:
Running
Running
Rishi Desai
commited on
Commit
·
fbe2bb9
1
Parent(s):
89d29bd
added in images
Browse files- README.md +138 -1
- examples/sukuna_1.png +3 -0
- examples/sukuna_2.png +3 -0
- examples/sukuna_3.png +3 -0
- examples/sukuna_4.png +3 -0
- examples/sukuna_5.png +3 -0
- examples/sukuna_6.png +3 -0
- examples/sukuna_7.png +3 -0
- examples/woman_1.png +3 -0
- examples/woman_2.png +3 -0
- examples/woman_3.png +3 -0
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
examples/sukuna_2.png
ADDED
![]() |
Git LFS Details
|
examples/sukuna_3.png
ADDED
![]() |
Git LFS Details
|
examples/sukuna_4.png
ADDED
![]() |
Git LFS Details
|
examples/sukuna_5.png
ADDED
![]() |
Git LFS Details
|
examples/sukuna_6.png
ADDED
![]() |
Git LFS Details
|
examples/sukuna_7.png
ADDED
![]() |
Git LFS Details
|
examples/woman_1.png
ADDED
![]() |
Git LFS Details
|
examples/woman_2.png
ADDED
![]() |
Git LFS Details
|
examples/woman_3.png
ADDED
![]() |
Git LFS Details
|