Spaces:
Running
Running
Update app.py
Browse files
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
|
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
|