update app
Browse files
app.py
CHANGED
|
@@ -324,7 +324,7 @@ with gr.Blocks() as demo:
|
|
| 324 |
with gr.Row(equal_height=True):
|
| 325 |
with gr.Column():
|
| 326 |
input_images = gr.Gallery(
|
| 327 |
-
label="Upload Images
|
| 328 |
type="filepath",
|
| 329 |
columns=2,
|
| 330 |
rows=1,
|
|
@@ -333,12 +333,12 @@ with gr.Blocks() as demo:
|
|
| 333 |
elem_id="input_gallery"
|
| 334 |
)
|
| 335 |
|
| 336 |
-
image_count_info = gr.Markdown("📷 No images uploaded", elem_id="image_count_info")
|
| 337 |
|
| 338 |
with gr.Row():
|
| 339 |
prompt = gr.Text(
|
| 340 |
label="Edit Prompt",
|
| 341 |
-
max_lines=
|
| 342 |
show_label=True,
|
| 343 |
placeholder="e.g., a man with a red superhero mask (For Face Swap, use the suggested prompt or customize)"
|
| 344 |
)
|
|
@@ -361,7 +361,7 @@ with gr.Blocks() as demo:
|
|
| 361 |
[(item["image"], item["title"]) for item in LORA_STYLES],
|
| 362 |
label="Edit Style Gallery",
|
| 363 |
allow_preview=False,
|
| 364 |
-
columns=
|
| 365 |
elem_id="style_gallery",
|
| 366 |
)
|
| 367 |
|
|
|
|
| 324 |
with gr.Row(equal_height=True):
|
| 325 |
with gr.Column():
|
| 326 |
input_images = gr.Gallery(
|
| 327 |
+
label="Upload Images",
|
| 328 |
type="filepath",
|
| 329 |
columns=2,
|
| 330 |
rows=1,
|
|
|
|
| 333 |
elem_id="input_gallery"
|
| 334 |
)
|
| 335 |
|
| 336 |
+
#image_count_info = gr.Markdown("📷 No images uploaded", elem_id="image_count_info")
|
| 337 |
|
| 338 |
with gr.Row():
|
| 339 |
prompt = gr.Text(
|
| 340 |
label="Edit Prompt",
|
| 341 |
+
max_lines=1,
|
| 342 |
show_label=True,
|
| 343 |
placeholder="e.g., a man with a red superhero mask (For Face Swap, use the suggested prompt or customize)"
|
| 344 |
)
|
|
|
|
| 361 |
[(item["image"], item["title"]) for item in LORA_STYLES],
|
| 362 |
label="Edit Style Gallery",
|
| 363 |
allow_preview=False,
|
| 364 |
+
columns=2,
|
| 365 |
elem_id="style_gallery",
|
| 366 |
)
|
| 367 |
|