Update app.py
Browse filescommenting out the logo part,
changing displaying prompt text
app.py
CHANGED
|
@@ -340,7 +340,7 @@ for i, btn in enumerate(theme_buttons):
|
|
| 340 |
|
| 341 |
|
| 342 |
### Description and style
|
| 343 |
-
logo = r"""
|
| 344 |
# <center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
|
| 345 |
# """
|
| 346 |
# title = r"""
|
|
@@ -489,7 +489,7 @@ def update_prompt_buttons_visibility(gender):
|
|
| 489 |
# theme_buttons = []
|
| 490 |
|
| 491 |
with gr.Blocks(css=css) as demo:
|
| 492 |
-
gr.Markdown(logo)
|
| 493 |
# gr.Markdown(title)
|
| 494 |
gr.HTML(title_html)
|
| 495 |
#gr.Markdown(description)
|
|
@@ -527,7 +527,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 527 |
prompt = gr.Dropdown(
|
| 528 |
label="Select Prompt",
|
| 529 |
choices=list(get_prompts_by_gender("woman").values()), # default to woman
|
| 530 |
-
value=list(get_prompts_by_gender("woman").values())[0],
|
|
|
|
| 531 |
interactive=True
|
| 532 |
)
|
| 533 |
|
|
|
|
| 340 |
|
| 341 |
|
| 342 |
### Description and style
|
| 343 |
+
# logo = r"""
|
| 344 |
# <center><img src='https://photo-maker.github.io/assets/logo.png' alt='PhotoMaker logo' style="width:80px; margin-bottom:10px"></center>
|
| 345 |
# """
|
| 346 |
# title = r"""
|
|
|
|
| 489 |
# theme_buttons = []
|
| 490 |
|
| 491 |
with gr.Blocks(css=css) as demo:
|
| 492 |
+
# gr.Markdown(logo)
|
| 493 |
# gr.Markdown(title)
|
| 494 |
gr.HTML(title_html)
|
| 495 |
#gr.Markdown(description)
|
|
|
|
| 527 |
prompt = gr.Dropdown(
|
| 528 |
label="Select Prompt",
|
| 529 |
choices=list(get_prompts_by_gender("woman").values()), # default to woman
|
| 530 |
+
# value=list(get_prompts_by_gender("woman").values())[0],
|
| 531 |
+
value = "Select Your Prompt"
|
| 532 |
interactive=True
|
| 533 |
)
|
| 534 |
|