Spaces:
Running
on
Zero
Running
on
Zero
Richard Neuschulz
commited on
Commit
•
1653b93
1
Parent(s):
311eb36
updated to photos
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def generate_image(images, prompt, negative_prompt, face_strength, likeness_stre
|
|
64 |
print("Generating SDXL")
|
65 |
image = ip_model.generate(
|
66 |
prompt=prompt, negative_prompt=total_negative_prompt, faceid_embeds=average_embedding,
|
67 |
-
scale=likeness_strength, width=
|
68 |
)
|
69 |
|
70 |
print(image)
|
@@ -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). I have no idea what I am doing, but you should run this on at least 24 GB of VRAM.")
|
84 |
with gr.Row():
|
85 |
with gr.Column():
|
86 |
files = gr.Files(
|
|
|
64 |
print("Generating SDXL")
|
65 |
image = ip_model.generate(
|
66 |
prompt=prompt, negative_prompt=total_negative_prompt, faceid_embeds=average_embedding,
|
67 |
+
scale=likeness_strength, width=864, height=1152, guidance_scale=face_strength, num_inference_steps=30
|
68 |
)
|
69 |
|
70 |
print(image)
|
|
|
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) in cojunction with [Juggernaut XL v6](https://huggingface.co/stablediffusionapi/juggernaut-xl-v7) as the base model I have no idea what I am doing, but you should run this on at least 24 GB of VRAM.")
|
84 |
with gr.Row():
|
85 |
with gr.Column():
|
86 |
files = gr.Files(
|