Update app.py
Browse files
app.py
CHANGED
|
@@ -618,15 +618,15 @@ with gr.Blocks(css=css) as demo:
|
|
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
-
show_prompts_btn.click(
|
| 622 |
-
|
| 623 |
-
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
).then(
|
| 627 |
-
|
| 628 |
-
|
| 629 |
-
)
|
| 630 |
|
| 631 |
|
| 632 |
style = gr.Dropdown(label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME, visible=False)
|
|
|
|
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
+
# show_prompts_btn.click(
|
| 622 |
+
# # fn=lambda: gr.update(visible=True),
|
| 623 |
+
# fn=update_theme_buttons_only,
|
| 624 |
+
# inputs=gender_selector,
|
| 625 |
+
# outputs=theme_buttons
|
| 626 |
+
# ).then(
|
| 627 |
+
# lambda: gr.update(visible=True),
|
| 628 |
+
# outputs=prompt_suggestions
|
| 629 |
+
# )
|
| 630 |
|
| 631 |
|
| 632 |
style = gr.Dropdown(label="Style template", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME, visible=False)
|