ethe commited on
Commit
2adcc6b
1 Parent(s): 076542d

modify prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,11 +13,12 @@ pipe = StableDiffusionPipeline.from_single_file(
13
  )
14
 
15
  num_images_per_prompt = 4
16
- prompt = 'Modern Elegance:Explore the seamless blend of sleek lines, minimalist aesthetics, and cutting-edge design in modern interior decor'
17
 
18
  negative_prompt = '(nsfw:1.3),(Nude:1.3),(Naked:1.3),low quality, blurry, bad anatomy, worst quality, text, watermark, normal quality, ugly, signature, lowres, deformed, disfigured, cropped, jpeg artifacts, error, \
19
  mutation, logo, watermark,text, logo,contact, error, blurry, cropped, username, artist name, (worst quality, low quality:1.4),monochrome,'
20
  def inference(prompt,ref_image):
 
21
  image = pipe(
22
  prompt=prompt,
23
  negative_prompt=negative_prompt,
 
13
  )
14
 
15
  num_images_per_prompt = 4
16
+ positive_prompt = 'Modern Elegance:Explore the seamless blend of sleek lines, minimalist aesthetics, and cutting-edge design in modern interior decor'
17
 
18
  negative_prompt = '(nsfw:1.3),(Nude:1.3),(Naked:1.3),low quality, blurry, bad anatomy, worst quality, text, watermark, normal quality, ugly, signature, lowres, deformed, disfigured, cropped, jpeg artifacts, error, \
19
  mutation, logo, watermark,text, logo,contact, error, blurry, cropped, username, artist name, (worst quality, low quality:1.4),monochrome,'
20
  def inference(prompt,ref_image):
21
+ prompt += positive_prompt
22
  image = pipe(
23
  prompt=prompt,
24
  negative_prompt=negative_prompt,