Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
29b3293
1
Parent(s):
d16ec03
Update app.py
Browse files
app.py
CHANGED
@@ -95,8 +95,8 @@ css = '''
|
|
95 |
h1{margin-bottom: 0 !important}
|
96 |
'''
|
97 |
with gr.Blocks(css=css) as demo:
|
98 |
-
gr.Markdown("# IP-Adapter-FaceID demo")
|
99 |
-
gr.Markdown("Demo for the [h94/IP-Adapter-FaceID model](https://huggingface.co/h94/IP-Adapter-FaceID) -
|
100 |
with gr.Row():
|
101 |
with gr.Column():
|
102 |
files = gr.Files(
|
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
style = gr.Radio(label="Generation type", info="For stylized try prompts like 'a watercolor painting of a woman'", choices=["Photorealistic", "Stylized"], value="Photorealistic")
|
114 |
submit = gr.Button("Submit")
|
115 |
with gr.Accordion(open=False, label="Advanced Options"):
|
116 |
-
preserve = gr.Checkbox(label="Preserve Face Structure", info="Higher quality, less versatility (the face structure of your first photo will be preserved)", value=True)
|
117 |
face_strength = gr.Slider(label="Face Structure strength", info="Only applied if preserve face structure is checked", value=1.3, step=0.1, minimum=0, maximum=3)
|
118 |
likeness_strength = gr.Slider(label="Face Embed strength", value=1.0, step=0.1, minimum=0, maximum=5)
|
119 |
nfaa_negative_prompts = gr.Textbox(label="Appended Negative Prompts", info="Negative prompts to steer generations towards safe for all audiences outputs", value="naked, bikini, skimpy, scanty, bare skin, lingerie, swimsuit, exposed, see-through")
|
|
|
95 |
h1{margin-bottom: 0 !important}
|
96 |
'''
|
97 |
with gr.Blocks(css=css) as demo:
|
98 |
+
gr.Markdown("# IP-Adapter-FaceID Plus demo")
|
99 |
+
gr.Markdown("Demo for the [h94/IP-Adapter-FaceID model](https://huggingface.co/h94/IP-Adapter-FaceID) - Non-commercial license")
|
100 |
with gr.Row():
|
101 |
with gr.Column():
|
102 |
files = gr.Files(
|
|
|
113 |
style = gr.Radio(label="Generation type", info="For stylized try prompts like 'a watercolor painting of a woman'", choices=["Photorealistic", "Stylized"], value="Photorealistic")
|
114 |
submit = gr.Button("Submit")
|
115 |
with gr.Accordion(open=False, label="Advanced Options"):
|
116 |
+
preserve = gr.Checkbox(label="Preserve Face Structure", info="Higher quality, less versatility (the face structure of your first photo will be preserved). Unchecking this will use the v1 model.", value=True)
|
117 |
face_strength = gr.Slider(label="Face Structure strength", info="Only applied if preserve face structure is checked", value=1.3, step=0.1, minimum=0, maximum=3)
|
118 |
likeness_strength = gr.Slider(label="Face Embed strength", value=1.0, step=0.1, minimum=0, maximum=5)
|
119 |
nfaa_negative_prompts = gr.Textbox(label="Appended Negative Prompts", info="Negative prompts to steer generations towards safe for all audiences outputs", value="naked, bikini, skimpy, scanty, bare skin, lingerie, swimsuit, exposed, see-through")
|