Spaces:
Running
on
Zero
Running
on
Zero
Update app_local.py
Browse files- app_local.py +5 -5
app_local.py
CHANGED
|
@@ -440,8 +440,8 @@ with gr.Blocks(title="Qwen Image Edit - Fast Lightning Mode w/ Batch") as demo:
|
|
| 440 |
)
|
| 441 |
|
| 442 |
prompt = gr.Textbox(
|
| 443 |
-
label="Edit Instructions",
|
| 444 |
-
placeholder="e.g. Replace the background with a beach sunset...",
|
| 445 |
lines=2,
|
| 446 |
max_lines=4,
|
| 447 |
scale=2
|
|
@@ -498,14 +498,14 @@ with gr.Blocks(title="Qwen Image Edit - Fast Lightning Mode w/ Batch") as demo:
|
|
| 498 |
minimum=4,
|
| 499 |
maximum=16,
|
| 500 |
step=1,
|
| 501 |
-
value=
|
| 502 |
)
|
| 503 |
num_images_per_prompt = gr.Slider(
|
| 504 |
label="Output Count (Manual)",
|
| 505 |
minimum=1,
|
| 506 |
maximum=4,
|
| 507 |
step=1,
|
| 508 |
-
value=
|
| 509 |
)
|
| 510 |
|
| 511 |
# Output Column
|
|
@@ -519,7 +519,7 @@ with gr.Blocks(title="Qwen Image Edit - Fast Lightning Mode w/ Batch") as demo:
|
|
| 519 |
)
|
| 520 |
prompt_info = gr.HTML(
|
| 521 |
value="<div style='padding:15px; margin-top:15px'>"
|
| 522 |
-
"Prompt details will appear after generation
|
| 523 |
)
|
| 524 |
|
| 525 |
# Set up prompt preview update
|
|
|
|
| 440 |
)
|
| 441 |
|
| 442 |
prompt = gr.Textbox(
|
| 443 |
+
label="Edit Instructions / Base Prompt",
|
| 444 |
+
placeholder="e.g. Replace the background with a beach sunset... When a preset is selected, use as the base prompt, e.g. the lamborghini",
|
| 445 |
lines=2,
|
| 446 |
max_lines=4,
|
| 447 |
scale=2
|
|
|
|
| 498 |
minimum=4,
|
| 499 |
maximum=16,
|
| 500 |
step=1,
|
| 501 |
+
value=6
|
| 502 |
)
|
| 503 |
num_images_per_prompt = gr.Slider(
|
| 504 |
label="Output Count (Manual)",
|
| 505 |
minimum=1,
|
| 506 |
maximum=4,
|
| 507 |
step=1,
|
| 508 |
+
value=1
|
| 509 |
)
|
| 510 |
|
| 511 |
# Output Column
|
|
|
|
| 519 |
)
|
| 520 |
prompt_info = gr.HTML(
|
| 521 |
value="<div style='padding:15px; margin-top:15px'>"
|
| 522 |
+
"Prompt details will appear after generation. Ability to edit Preset Prompts on the fly will be implemented shortly.</div>"
|
| 523 |
)
|
| 524 |
|
| 525 |
# Set up prompt preview update
|