Update app.py
Browse files
app.py
CHANGED
|
@@ -499,6 +499,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 499 |
|
| 500 |
with gr.Group(visible=False, elem_id="prompt_suggestions_box") as prompt_suggestions:
|
| 501 |
gr.Markdown("### Suggested Prompts")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 502 |
|
| 503 |
# theme_buttons = [gr.Button(theme, visible=False) for theme in man_prompts.keys()]
|
| 504 |
for theme in man_prompts.keys(): # initially load man themes
|
|
|
|
| 499 |
|
| 500 |
with gr.Group(visible=False, elem_id="prompt_suggestions_box") as prompt_suggestions:
|
| 501 |
gr.Markdown("### Suggested Prompts")
|
| 502 |
+
|
| 503 |
+
suggestion_strength = gr.Slider(
|
| 504 |
+
label="Prompt Strength",
|
| 505 |
+
minimum=0,
|
| 506 |
+
maximum=100,
|
| 507 |
+
step=1,
|
| 508 |
+
value=50
|
| 509 |
+
)
|
| 510 |
|
| 511 |
# theme_buttons = [gr.Button(theme, visible=False) for theme in man_prompts.keys()]
|
| 512 |
for theme in man_prompts.keys(): # initially load man themes
|