Update app.py
Browse files
app.py
CHANGED
|
@@ -319,7 +319,8 @@ for i, btn in enumerate(theme_buttons):
|
|
| 319 |
logo = r"""
|
| 320 |
# <center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
|
| 321 |
# """
|
| 322 |
-
title = r"""
|
|
|
|
| 323 |
<h1 id="app-title">Realistic Portrait</h1>
|
| 324 |
"""
|
| 325 |
#V2: Improved ID Fidelity and Better Controllability than PhotoMaker V1</h1>
|
|
@@ -457,7 +458,8 @@ def update_prompt_buttons_visibility(gender):
|
|
| 457 |
|
| 458 |
with gr.Blocks(css=css) as demo:
|
| 459 |
gr.Markdown(logo)
|
| 460 |
-
gr.Markdown(title)
|
|
|
|
| 461 |
#gr.Markdown(description)
|
| 462 |
|
| 463 |
# current_suggestions = gr.State(woman_prompts)
|
|
|
|
| 319 |
logo = r"""
|
| 320 |
# <center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
|
| 321 |
# """
|
| 322 |
+
# title = r"""
|
| 323 |
+
title_html="""
|
| 324 |
<h1 id="app-title">Realistic Portrait</h1>
|
| 325 |
"""
|
| 326 |
#V2: Improved ID Fidelity and Better Controllability than PhotoMaker V1</h1>
|
|
|
|
| 458 |
|
| 459 |
with gr.Blocks(css=css) as demo:
|
| 460 |
gr.Markdown(logo)
|
| 461 |
+
# gr.Markdown(title)
|
| 462 |
+
gr.HTML(title_html)
|
| 463 |
#gr.Markdown(description)
|
| 464 |
|
| 465 |
# current_suggestions = gr.State(woman_prompts)
|