Spaces:
Runtime error
Runtime error
Update app.py
Browse files9 unmodified lines101112131415169 unmodified linesdef get_instantID(portrait_in, condition_pose, prompt, style):client = Client("https://fffiloni-instantid.hf.space/", hf_token=hf_token)negative_prompt = "(lowres, low quality, worst quality:1.2), (text:1.2), watermark, (frame:1.2), deformed, ugly, deformed eyes, blur, out of focus, blurry, deformed cat, deformed, photo, anthropomorphic cat, monochrome, photo, pet collar, gun, weapon, blue, 3d, drones, drone, buildings in background, green"result = client.predict(portrait_in, # filepath in 'Upload a photo of your face' Image componentcondition_pose, # filepath in 'Upload a reference pose image (optional)' Image component9 unmodified lines101112131415169 unmodified linesdef get_instantID(portrait_in, condition_pose, prompt, style):client = Client("https://fffiloni-instantid.hf.space/", hf_token=hf_token)negative_prompt = "(lowres, low quality, worst quality:1.2), (text:1.2), watermark, (frame:1.2), deformed, ugly, deformed eyes, blur, out of focus, blurry, deformed, monochrome, gun, weapon"result = client.predict(portrait_in, # filepath in 'Upload a photo of your face' Image componentcondition_pose, # filepath in 'Upload a reference pose image (optional)' Image component
app.py+1-1