vkthakur88 commited on
Commit
9ba4010
1 Parent(s): 082781b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ client = hf_hub.InferenceClient(token = os.environ['HF_TOKEN'])
7
  def image_interface(prompt, guidance_scale, steps):
8
  response = client.text_to_image(
9
  prompt = f'concept art of {prompt}, oil painting, a photorealistically detailed painting, indian vedic culture, fair skinned, fantasy art, a beautiful artwork illustration, inspired by Raja Ravi Varma, trending on cg society.',
10
- negative_prompt = f'duplicate, fake, unrealistic, dark skinned, beard, moustache, photograph, ugly, deformed, noisy, blurry, old, bad anatomy, bad hands, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, worst face, three crus, extra crus, fused crus, worst feet, three feet, fused feet, fused thigh, three thigh, fused thigh, extra thigh, worst thigh, missing fingers, extra fingers, ugly fingers, long fingers, horn, extra eyes, huge eyes, 2girl, amputation, disconnected limbs.',
11
  model = 'stabilityai/stable-diffusion-xl-base-1.0',
12
  guidance_scale = guidance_scale,
13
  num_inference_steps = steps
 
7
  def image_interface(prompt, guidance_scale, steps):
8
  response = client.text_to_image(
9
  prompt = f'concept art of {prompt}, oil painting, a photorealistically detailed painting, indian vedic culture, fair skinned, fantasy art, a beautiful artwork illustration, inspired by Raja Ravi Varma, trending on cg society.',
10
+ negative_prompt = f'duplicate, black and white, fake, unrealistic, dark skinned, beard, moustache, photograph, ugly, deformed, noisy, blurry, old, bad anatomy, bad hands, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, worst face, three crus, extra crus, fused crus, worst feet, three feet, fused feet, fused thigh, three thigh, fused thigh, extra thigh, worst thigh, missing fingers, extra fingers, ugly fingers, long fingers, horn, extra eyes, huge eyes, 2girl, amputation, disconnected limbs.',
11
  model = 'stabilityai/stable-diffusion-xl-base-1.0',
12
  guidance_scale = guidance_scale,
13
  num_inference_steps = steps