Spaces:
Runtime error
Runtime error
Richard Neuschulz
commited on
Commit
β’
9764ecb
1
Parent(s):
1653b93
Improve documentation and UI labels
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ h1{margin-bottom: 0 !important}
|
|
80 |
'''
|
81 |
with gr.Blocks(css=css) as demo:
|
82 |
gr.Markdown("# IP-Adapter-FaceID SDXL demo")
|
83 |
-
gr.Markdown("A simple Demo for the [h94/IP-Adapter-FaceID SDXL model](https://huggingface.co/h94/IP-Adapter-FaceID)
|
84 |
with gr.Row():
|
85 |
with gr.Column():
|
86 |
files = gr.Files(
|
@@ -96,8 +96,8 @@ with gr.Blocks(css=css) as demo:
|
|
96 |
value="")
|
97 |
negative_prompt = gr.Textbox(label="Negative Prompt", info="What the model should NOT produce.",placeholder="low quality", value="(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth")
|
98 |
style = "Photorealistic"
|
99 |
-
face_strength = gr.Slider(label="
|
100 |
-
likeness_strength = gr.Slider(label="
|
101 |
submit = gr.Button("Submit", variant="primary")
|
102 |
with gr.Column():
|
103 |
gallery = gr.Gallery(label="Generated Images")
|
|
|
80 |
'''
|
81 |
with gr.Blocks(css=css) as demo:
|
82 |
gr.Markdown("# IP-Adapter-FaceID SDXL demo")
|
83 |
+
gr.Markdown("A simple Demo for the [h94/IP-Adapter-FaceID SDXL model](https://huggingface.co/h94/IP-Adapter-FaceID) together with [Juggernaut XL v7](https://huggingface.co/stablediffusionapi/juggernaut-xl-v7). You should run this on at least 24 GB of VRAM.")
|
84 |
with gr.Row():
|
85 |
with gr.Column():
|
86 |
files = gr.Files(
|
|
|
96 |
value="")
|
97 |
negative_prompt = gr.Textbox(label="Negative Prompt", info="What the model should NOT produce.",placeholder="low quality", value="(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth")
|
98 |
style = "Photorealistic"
|
99 |
+
face_strength = gr.Slider(label="Prompt Strength", info="How much the written prompt weighs into the generated images.", value=7.5, step=0.1, minimum=0, maximum=15)
|
100 |
+
likeness_strength = gr.Slider(label="Photo Embedding Strength", info="How much your uploaded files weigh into the generated images.", value=1.0, step=0.1, minimum=0, maximum=5)
|
101 |
submit = gr.Button("Submit", variant="primary")
|
102 |
with gr.Column():
|
103 |
gallery = gr.Gallery(label="Generated Images")
|