Update app.py
Browse files
app.py
CHANGED
|
@@ -548,7 +548,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 548 |
def update_prompts_on_gender_change(gender):
|
| 549 |
prompts = woman_prompts if gender == "woman" else man_prompts
|
| 550 |
return [
|
| 551 |
-
gr.update(choices=list(prompts.keys()),
|
| 552 |
prompts # Update the stored prompts
|
| 553 |
]
|
| 554 |
|
|
|
|
| 548 |
def update_prompts_on_gender_change(gender):
|
| 549 |
prompts = woman_prompts if gender == "woman" else man_prompts
|
| 550 |
return [
|
| 551 |
+
gr.update(choices=list(prompts.keys())),
|
| 552 |
prompts # Update the stored prompts
|
| 553 |
]
|
| 554 |
|