Fabrice-TIERCELIN commited on
Commit
1885170
·
verified ·
1 Parent(s): f0606b9

Smooth border to 0

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -303,7 +303,7 @@ with gr.Blocks() as interface:
303
  with gr.Row():
304
  with gr.Accordion("Advanced options", open = False):
305
  negative_prompt = gr.Textbox(label = 'Negative prompt', placeholder = 'Describe what you do NOT want to see in the entire image', value = 'Border, frame, painting, scribbling, smear, noise, blur, watermark')
306
- smooth_border = gr.Slider(minimum = 0, maximum = 1024, value = 20, step = 2, label = "Smooth border", info = "lower=preserve original, higher=seamless")
307
  denoising_steps = gr.Slider(minimum = 0, maximum = 1000, value = 1000, step = 1, label = "Denoising", info = "lower=irrelevant result, higher=relevant result")
308
  num_inference_steps = gr.Slider(minimum = 10, maximum = 100, value = 50, step = 1, label = "Number of inference steps", info = "lower=faster, higher=image quality")
309
  guidance_scale = gr.Slider(minimum = 1, maximum = 13, value = 7, step = 0.1, label = "Classifier-Free Guidance Scale", info = "lower=image quality, higher=follow the prompt")
@@ -397,9 +397,9 @@ with gr.Blocks() as interface:
397
  1024,
398
  1024,
399
  1024,
400
- "An asian woman, black hair, modern wear, in the street, ultrarealistic, realistic, photorealistic, 8k",
401
  "Border, frame, painting, drawing, cartoon, scribbling, smear, noise, blur, watermark",
402
- 20,
403
  1000,
404
  50,
405
  7,
@@ -413,9 +413,9 @@ with gr.Blocks() as interface:
413
  1024,
414
  1024,
415
  1024,
416
- "Black man, jumping in the air, outside, ultrarealistic, realistic, photorealistic, 8k",
417
  "Border, frame, painting, drawing, cartoon, scribbling, smear, noise, blur, watermark",
418
- 20,
419
  1000,
420
  50,
421
  7,
@@ -431,7 +431,7 @@ with gr.Blocks() as interface:
431
  512,
432
  "An old yellow car, in a town, ultrarealistic, realistic, photorealistic, 8k",
433
  "Border, frame, painting, drawing, cartoon, scribbling, smear, noise, blur, watermark",
434
- 20,
435
  1000,
436
  50,
437
  7,
 
303
  with gr.Row():
304
  with gr.Accordion("Advanced options", open = False):
305
  negative_prompt = gr.Textbox(label = 'Negative prompt', placeholder = 'Describe what you do NOT want to see in the entire image', value = 'Border, frame, painting, scribbling, smear, noise, blur, watermark')
306
+ smooth_border = gr.Slider(minimum = 0, maximum = 1024, value = 0, step = 2, label = "Smooth border", info = "lower=preserve original, higher=seamless")
307
  denoising_steps = gr.Slider(minimum = 0, maximum = 1000, value = 1000, step = 1, label = "Denoising", info = "lower=irrelevant result, higher=relevant result")
308
  num_inference_steps = gr.Slider(minimum = 10, maximum = 100, value = 50, step = 1, label = "Number of inference steps", info = "lower=faster, higher=image quality")
309
  guidance_scale = gr.Slider(minimum = 1, maximum = 13, value = 7, step = 0.1, label = "Classifier-Free Guidance Scale", info = "lower=image quality, higher=follow the prompt")
 
397
  1024,
398
  1024,
399
  1024,
400
+ "A woman, black hair, nowadays, in the street, ultrarealistic, realistic, photorealistic, 8k",
401
  "Border, frame, painting, drawing, cartoon, scribbling, smear, noise, blur, watermark",
402
+ 0,
403
  1000,
404
  50,
405
  7,
 
413
  1024,
414
  1024,
415
  1024,
416
+ "A man, jumping in the air, outside, ultrarealistic, realistic, photorealistic, 8k",
417
  "Border, frame, painting, drawing, cartoon, scribbling, smear, noise, blur, watermark",
418
+ 0,
419
  1000,
420
  50,
421
  7,
 
431
  512,
432
  "An old yellow car, in a town, ultrarealistic, realistic, photorealistic, 8k",
433
  "Border, frame, painting, drawing, cartoon, scribbling, smear, noise, blur, watermark",
434
+ 0,
435
  1000,
436
  50,
437
  7,