Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -235,6 +235,7 @@ position_list = [
|
|
235 |
"bottom-left", "bottom-left-center", "bottom-center", "bottom-right-center", "bottom-right"
|
236 |
]
|
237 |
|
|
|
238 |
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as Kolors:
|
239 |
text_position = gr.State("middle-center")
|
240 |
|
@@ -342,11 +343,22 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as Kolors:
|
|
342 |
# Add examples
|
343 |
gr.Examples(
|
344 |
examples=[
|
345 |
-
[
|
346 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
],
|
348 |
-
inputs=[prompt, text_for_image, text_position, font_size
|
349 |
label="Examples"
|
350 |
)
|
351 |
|
352 |
-
Kolors.queue().launch(debug=True)
|
|
|
|
235 |
"bottom-left", "bottom-left-center", "bottom-center", "bottom-right-center", "bottom-right"
|
236 |
]
|
237 |
|
238 |
+
|
239 |
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as Kolors:
|
240 |
text_position = gr.State("middle-center")
|
241 |
|
|
|
343 |
# Add examples
|
344 |
gr.Examples(
|
345 |
examples=[
|
346 |
+
[
|
347 |
+
"A serene beach sunset with palm trees silhouetted against the orange sky",
|
348 |
+
"PARADISE",
|
349 |
+
"top-center",
|
350 |
+
100
|
351 |
+
],
|
352 |
+
[
|
353 |
+
"์ง์ฃผ ๊ท๊ณ ๋ฆฌ๋ฅผ ํ ์๋
, ๊ฒ์์ ๋ฐฐ๊ฒฝ, ์ด๊ณ ํด์๋, ์์ํ ์์, ์ต๊ณ ์ ํ์ง, 8k, HD, 4K", "ๅคง้๋ฏผ๊ตญ",
|
354 |
+
"ๅคง้๋ฏผ๊ตญ\nKOREA\n่ฌไธ",
|
355 |
+
"bottom-right",
|
356 |
+
72
|
357 |
+
]
|
358 |
],
|
359 |
+
inputs=[prompt, text_for_image, text_position, font_size],
|
360 |
label="Examples"
|
361 |
)
|
362 |
|
363 |
+
Kolors.queue().launch(debug=True)
|
364 |
+
|