Spaces:
Runtime error
Runtime error
vkthakur88
commited on
Commit
•
64f9d2a
1
Parent(s):
cfdc5a4
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ client = hf_hub.InferenceClient(token = os.environ['HF_TOKEN'])
|
|
7 |
def image_interface(prompt, guidance_scale):
|
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, oil painting, unrealistic, dark skinned, beard, moustache, photograph, ugly, deformed, noisy,
|
11 |
model = 'stabilityai/stable-diffusion-xl-base-1.0',
|
12 |
guidance_scale = guidance_scale,
|
13 |
num_inference_steps = 50
|
|
|
7 |
def image_interface(prompt, guidance_scale):
|
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, oil painting, 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 = 50
|