adaface-neurips commited on
Commit
8c72c0e
1 Parent(s): c080901

improve subject image gallery

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -250,7 +250,7 @@ with gr.Blocks(css=css) as demo:
250
  file_count="multiple"
251
  )
252
  image_container = gr.Image(label="image container", sources="upload", type="numpy", height=256, visible=False)
253
- uploaded_files_gallery = gr.Gallery(label="Your images", visible=False, columns=5, rows=1, height=200)
254
  with gr.Column(visible=False) as clear_button_column:
255
  remove_and_reupload = gr.ClearButton(value="Remove and upload subject images", components=files, size="sm")
256
 
@@ -289,7 +289,7 @@ with gr.Blocks(css=css) as demo:
289
  gen_init = gr.Button(value="Generate 3 new init images")
290
 
291
  prompt = gr.Dropdown(label="Prompt",
292
- info="Try something like 'man/woman walking on the beach'. If the face is not in focus, try adding 'face portrait of' in the beginning.",
293
  value=None,
294
  allow_custom_value=True,
295
  filterable=False,
 
250
  file_count="multiple"
251
  )
252
  image_container = gr.Image(label="image container", sources="upload", type="numpy", height=256, visible=False)
253
+ uploaded_files_gallery = gr.Gallery(label="Subject images", visible=False, columns=3, rows=1, height=300)
254
  with gr.Column(visible=False) as clear_button_column:
255
  remove_and_reupload = gr.ClearButton(value="Remove and upload subject images", components=files, size="sm")
256
 
 
289
  gen_init = gr.Button(value="Generate 3 new init images")
290
 
291
  prompt = gr.Dropdown(label="Prompt",
292
+ info="Try something like 'man/woman walking on the beach'. If the face is not in focus, try adding 'face portrait of' at the beginning.",
293
  value=None,
294
  allow_custom_value=True,
295
  filterable=False,