fantos commited on
Commit
2f633b9
ยท
verified ยท
1 Parent(s): 090395a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -4
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
- ["A futuristic cityscape with flying cars and neon lights", "FUTURE CITY", "middle-center", 100, "low quality, ugly, deformed", 42, True, 7.0, 40, 0.8, 1.0, 0.9],
346
- ["์ง„์ฃผ ๊ท€๊ณ ๋ฆฌ๋ฅผ ํ•œ ์†Œ๋…€, ๊ฒ€์€์ƒ‰ ๋ฐฐ๊ฒฝ, ์ดˆ๊ณ ํ•ด์ƒ๋„, ์ƒ์ƒํ•œ ์ƒ‰์ƒ, ์ตœ๊ณ ์˜ ํ’ˆ์งˆ, 8k, HD, 4K", "ๅคง้Ÿ“๋ฏผ๊ตญ", "bottom-right", 72, "blurry, dark", 123, False, 5.0, 30, 0.6, 0.8, 1.0]
 
 
 
 
 
 
 
 
 
 
347
  ],
348
- inputs=[prompt, text_for_image, text_position, font_size, negative_prompt, seed, randomize_seed, guidance_scale, num_inference_steps, controlnet_conditioning_scale, control_guidance_end, strength],
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
+