mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
feat: enable edit attention with ctrl + arrow keys for enhance prompts
This commit is contained in:
@@ -352,9 +352,11 @@ with shared.gradio_root:
|
|||||||
show_progress=False, queue=False)
|
show_progress=False, queue=False)
|
||||||
|
|
||||||
enhance_prompt = gr.Textbox(label="Enhancement positive prompt",
|
enhance_prompt = gr.Textbox(label="Enhancement positive prompt",
|
||||||
placeholder="Uses original prompt instead if empty.")
|
placeholder="Uses original prompt instead if empty.",
|
||||||
|
elem_id='enhance_prompt')
|
||||||
enhance_negative_prompt = gr.Textbox(label="Enhancement negative prompt",
|
enhance_negative_prompt = gr.Textbox(label="Enhancement negative prompt",
|
||||||
placeholder="Uses original negative prompt instead if empty.")
|
placeholder="Uses original negative prompt instead if empty.",
|
||||||
|
elem_id='enhance_negative_prompt')
|
||||||
|
|
||||||
with gr.Accordion("Detection", open=False):
|
with gr.Accordion("Detection", open=False):
|
||||||
# TODO check if limiting to SAM is better
|
# TODO check if limiting to SAM is better
|
||||||
|
|||||||
Reference in New Issue
Block a user