fffiloni commited on
Commit
92fe2b4
·
verified ·
1 Parent(s): e511517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ DEFAULT_STYLE_NAME = "(No style)"
10
 
11
  def get_instantID(portrait_in, condition_pose, prompt, style):
12
  client = Client("https://fffiloni-instantid.hf.space/", hf_token=hf_token)
13
- 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"
14
  result = client.predict(
15
  portrait_in, # filepath in 'Upload a photo of your face' Image component
16
  condition_pose, # filepath in 'Upload a reference pose image (optional)' Image component
 
10
 
11
  def get_instantID(portrait_in, condition_pose, prompt, style):
12
  client = Client("https://fffiloni-instantid.hf.space/", hf_token=hf_token)
13
+ 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"
14
  result = client.predict(
15
  portrait_in, # filepath in 'Upload a photo of your face' Image component
16
  condition_pose, # filepath in 'Upload a reference pose image (optional)' Image component