Rishi Desai commited on
Commit
7332f5a
·
1 Parent(s): 02e8310

removing html/css

Browse files
Files changed (1) hide show
  1. README.md +85 -139
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
- <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
 
@@ -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
- ### 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>
 
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
+ ![Sukuna with bow and arrow](examples/sukuna_1.png)
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
+ ![Sukuna drinking coffee](examples/sukuna_2.png)
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
+ ![Sukuna playing basketball](examples/sukuna_3.png)
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
+ ![Woman riding a horse](examples/woman_1.png)
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
+ ![Woman painting in studio](examples/woman_2.png)
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
+ ![Woman on skyscraper](examples/woman_3.png)
 
 
 
150
 
151
  ## License
152
 
153
  [MIT License](LICENSE)