3. For **faster** speed, reduce the number of generated images and sampling steps. However, please note that reducing the sampling steps may compromise the ID fidelity.
3. For **faster** speed, reduce the number of generated images and sampling steps. However, please note that reducing the sampling steps may compromise the ID fidelity.
"""
"""
# We have provided some generate examples and comparisons at: [this website]().
# We have provided some generate examples and comparisons at: [this website]().
# 3. Don't make the prompt too long, as we will trim it if it exceeds 77 tokens.
# 3. Don't make the prompt too long, as we will trim it if it exceeds 77 tokens.
# 4. When generating realistic photos, if it's not real enough, try switching to our other gradio application [PhotoMaker-Realistic]().
# 4. When generating realistic photos, if it's not real enough, try switching to our other gradio application [PhotoMaker-Realistic]().
css='''
css='''
...
@@ -224,26 +232,27 @@ with gr.Blocks(css=css) as demo:
...
@@ -224,26 +232,27 @@ with gr.Blocks(css=css) as demo:
withgr.Row():
withgr.Row():
withgr.Column():
withgr.Column():
files=gr.Files(
files=gr.Files(
label="Drag (Select) 1 or more photos of your face",
label="Drag (Select) 1 or more photos of your face",