Spaces:
Paused
Paused
Update text
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def infer(
|
|
| 75 |
### Description
|
| 76 |
header = r"""
|
| 77 |
<h1>ID-Booth: Identity-consistent Face Generation with Diffusion Models</h1>
|
| 78 |
-
|
| 79 |
"""
|
| 80 |
|
| 81 |
footer = r"""
|
|
@@ -105,8 +105,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 105 |
# description
|
| 106 |
gr.Markdown(header)
|
| 107 |
with gr.Column(elem_id="col-container"):
|
| 108 |
-
gr.Markdown(" # ID-Booth Demo")
|
| 109 |
-
|
| 110 |
with gr.Row():
|
| 111 |
gr.Markdown("### Choose an identity, background, and pose:")
|
| 112 |
|
|
@@ -124,19 +122,19 @@ with gr.Blocks(css=css) as demo:
|
|
| 124 |
|
| 125 |
with gr.Row():
|
| 126 |
identity = gr.Dropdown(
|
| 127 |
-
label="Identity",
|
| 128 |
choices=id_list,
|
| 129 |
value=id_list[0],
|
| 130 |
)
|
| 131 |
|
| 132 |
background = gr.Dropdown(
|
| 133 |
-
label="Background",
|
| 134 |
choices=backgrounds_list,
|
| 135 |
value=backgrounds_list[0],
|
| 136 |
)
|
| 137 |
|
| 138 |
pose = gr.Dropdown(
|
| 139 |
-
label="Pose",
|
| 140 |
choices=poses_list,
|
| 141 |
value=poses_list[0],
|
| 142 |
)
|
|
|
|
| 75 |
### Description
|
| 76 |
header = r"""
|
| 77 |
<h1>ID-Booth: Identity-consistent Face Generation with Diffusion Models</h1>
|
| 78 |
+
Official Gradio demo for <a href='https://dariant.github.io/publications/ID-Booth' target='_blank'>ID-Booth: Identity-consistent Face Generation with Diffusion Models</a>
|
| 79 |
"""
|
| 80 |
|
| 81 |
footer = r"""
|
|
|
|
| 105 |
# description
|
| 106 |
gr.Markdown(header)
|
| 107 |
with gr.Column(elem_id="col-container"):
|
|
|
|
|
|
|
| 108 |
with gr.Row():
|
| 109 |
gr.Markdown("### Choose an identity, background, and pose:")
|
| 110 |
|
|
|
|
| 122 |
|
| 123 |
with gr.Row():
|
| 124 |
identity = gr.Dropdown(
|
| 125 |
+
label="Identity:",
|
| 126 |
choices=id_list,
|
| 127 |
value=id_list[0],
|
| 128 |
)
|
| 129 |
|
| 130 |
background = gr.Dropdown(
|
| 131 |
+
label="Background:",
|
| 132 |
choices=backgrounds_list,
|
| 133 |
value=backgrounds_list[0],
|
| 134 |
)
|
| 135 |
|
| 136 |
pose = gr.Dropdown(
|
| 137 |
+
label="Pose:",
|
| 138 |
choices=poses_list,
|
| 139 |
value=poses_list[0],
|
| 140 |
)
|