Spaces:
Running
on
Zero
Running
on
Zero
chore: changed image sizes, updated examples
Browse files
app.py
CHANGED
@@ -175,25 +175,26 @@ def main():
|
|
175 |
|
176 |
gr.Examples(
|
177 |
examples=[
|
178 |
-
["original", "", "1girl, solo", "
|
179 |
-
["original", "", "3girls, 2boys", "
|
|
|
180 |
[
|
181 |
"sousou no frieren",
|
182 |
"frieren (sousou no frieren)",
|
183 |
"1girl, solo",
|
184 |
-
"
|
185 |
],
|
186 |
[
|
187 |
"honkai: star rail",
|
188 |
"silver wolf (honkai: star rail)",
|
189 |
"1girl, solo",
|
190 |
-
"
|
191 |
],
|
192 |
[
|
193 |
"bocchi the rock!",
|
194 |
"gotoh hitori, kita ikuyo, ijichi nijika, yamada ryo",
|
195 |
"4girls, multiple girls",
|
196 |
-
"
|
197 |
],
|
198 |
[
|
199 |
"chuunibyou demo koi ga shitai!",
|
|
|
175 |
|
176 |
gr.Examples(
|
177 |
examples=[
|
178 |
+
["original", "", "1girl, solo", "768x1344"],
|
179 |
+
["original", "", "3girls, 2boys", "1344x768"],
|
180 |
+
["", "", "no humans, scenery, spring (season)", "1536x640"],
|
181 |
[
|
182 |
"sousou no frieren",
|
183 |
"frieren (sousou no frieren)",
|
184 |
"1girl, solo",
|
185 |
+
"768x1344",
|
186 |
],
|
187 |
[
|
188 |
"honkai: star rail",
|
189 |
"silver wolf (honkai: star rail)",
|
190 |
"1girl, solo",
|
191 |
+
"768x1344",
|
192 |
],
|
193 |
[
|
194 |
"bocchi the rock!",
|
195 |
"gotoh hitori, kita ikuyo, ijichi nijika, yamada ryo",
|
196 |
"4girls, multiple girls",
|
197 |
+
"1344x768",
|
198 |
],
|
199 |
[
|
200 |
"chuunibyou demo koi ga shitai!",
|
utils.py
CHANGED
@@ -9,16 +9,16 @@ NEGATIVE_PROMPT = {
|
|
9 |
|
10 |
IMAGE_SIZE_OPTIONS = {
|
11 |
"1536x640": "<|aspect_ratio:ultra_wide|>",
|
12 |
-
"
|
13 |
"1024x1024": "<|aspect_ratio:square|>",
|
14 |
-
"
|
15 |
"640x1536": "<|aspect_ratio:ultra_tall|>",
|
16 |
}
|
17 |
IMAGE_SIZES = {
|
18 |
"1536x640": (1536, 640),
|
19 |
-
"
|
20 |
"1024x1024": (1024, 1024),
|
21 |
-
"
|
22 |
"640x1536": (640, 1536),
|
23 |
}
|
24 |
|
|
|
9 |
|
10 |
IMAGE_SIZE_OPTIONS = {
|
11 |
"1536x640": "<|aspect_ratio:ultra_wide|>",
|
12 |
+
"1344x768": "<|aspect_ratio:wide|>",
|
13 |
"1024x1024": "<|aspect_ratio:square|>",
|
14 |
+
"768x1344": "<|aspect_ratio:tall|>",
|
15 |
"640x1536": "<|aspect_ratio:ultra_tall|>",
|
16 |
}
|
17 |
IMAGE_SIZES = {
|
18 |
"1536x640": (1536, 640),
|
19 |
+
"1344x768": (1344, 768),
|
20 |
"1024x1024": (1024, 1024),
|
21 |
+
"768x1344": (768, 1344),
|
22 |
"640x1536": (640, 1536),
|
23 |
}
|
24 |
|