VcRlAgent commited on
Commit
7e8144d
·
1 Parent(s): 47bfb02

SD based Avatar chaging parameters

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ def create_avatar(img: Image.Image) -> Image.Image:
148
  # Stylize with SD prompt
149
  prompt = "highly detailed, digital portrait, professional lighting, cinematic style, artistic AI avatar"
150
  with torch.autocast("cuda"):
151
- result = sd_pipe(prompt=prompt, image=img_resized, strength=0.75, guidance_scale=7.5)
152
 
153
  avatar = result.images[0]
154
 
 
148
  # Stylize with SD prompt
149
  prompt = "highly detailed, digital portrait, professional lighting, cinematic style, artistic AI avatar"
150
  with torch.autocast("cuda"):
151
+ result = sd_pipe(prompt=prompt, image=img_resized, strength=0.5, guidance_scale=5.0)
152
 
153
  avatar = result.images[0]
154