Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -252,6 +252,12 @@ def run_local(base,
|
|
252 |
synthesis = synthesis.permute(1, 2, 0).numpy()
|
253 |
return [synthesis]
|
254 |
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
demo = gr.Blocks(
|
257 |
css="css/style.css"
|
@@ -260,6 +266,8 @@ demo = gr.Blocks(
|
|
260 |
with demo:
|
261 |
with gr.Column():
|
262 |
# gr.Markdown("# Play with AnyDoor to Teleport your Target Objects! ")
|
|
|
|
|
263 |
gr.Markdown("# Télécharger / sélectionner des images pour l'arrière-plan (à gauche) et l'objet de référence (à droite)")
|
264 |
# gr.Markdown("### You could draw coarse masks on the background to indicate the desired location and shape.")
|
265 |
# gr.Markdown("### <u>Do not forget</u> to annotate the target object on the reference image.")
|
|
|
252 |
synthesis = synthesis.permute(1, 2, 0).numpy()
|
253 |
return [synthesis]
|
254 |
|
255 |
+
logo = r"""
|
256 |
+
<center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
|
257 |
+
"""
|
258 |
+
title = r"""
|
259 |
+
<h1 align="center">PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding</h1>
|
260 |
+
"""
|
261 |
|
262 |
demo = gr.Blocks(
|
263 |
css="css/style.css"
|
|
|
266 |
with demo:
|
267 |
with gr.Column():
|
268 |
# gr.Markdown("# Play with AnyDoor to Teleport your Target Objects! ")
|
269 |
+
gr.Markdown(logo)
|
270 |
+
gr.Markdown(title)
|
271 |
gr.Markdown("# Télécharger / sélectionner des images pour l'arrière-plan (à gauche) et l'objet de référence (à droite)")
|
272 |
# gr.Markdown("### You could draw coarse masks on the background to indicate the desired location and shape.")
|
273 |
# gr.Markdown("### <u>Do not forget</u> to annotate the target object on the reference image.")
|