Spaces:
Sleeping
Sleeping
SD based Avatar chaging parameters
Browse files147 unmodified lines148149150151152153154147 unmodified lines# Stylize with SD promptprompt = "highly detailed, digital portrait, professional lighting, cinematic style, artistic AI avatar"with torch.autocast("cuda"):result = sd_pipe(prompt=prompt, image=img_resized, strength=0.75, guidance_scale=7.5)avatar = result.images[0]147 unmodified lines148149150151152153154147 unmodified lines# Stylize with SD promptprompt = "highly detailed, digital portrait, professional lighting, cinematic style, artistic AI avatar"with torch.autocast("cuda"):result = sd_pipe(prompt=prompt, image=img_resized, strength=0.5, guidance_scale=5.0)avatar = result.images[0]
app.py+1-1