prithivMLmods commited on
Commit
e013dd2
·
verified ·
1 Parent(s): 0e5aeb3

update app

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 (For Face Swap: Picture 1 = Base/Body, Picture 2 = Face Source)",
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=3,
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=3,
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