multimodalart HF staff commited on
Commit
5f7afb5
1 Parent(s): f152551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -554,7 +554,7 @@ To improve the quality of your outputs, you can add a custom caption for each im
554
  output_components.append(locals()[f"image_{i}"])
555
  output_components.append(locals()[f"caption_{i}"])
556
  caption_list.append(locals()[f"caption_{i}"])
557
- with gr.Accordion(open=False, label="Advanced options", visible=False) as advanced:
558
  with gr.Row():
559
  with gr.Column():
560
  optimizer = gr.Dropdown(
@@ -673,7 +673,7 @@ To improve the quality of your outputs, you can add a custom caption for each im
673
  value=1024,
674
  )
675
 
676
- with gr.Accordion(open=False, label="Even more advanced options"):
677
  with gr.Row():
678
  with gr.Column():
679
  gradient_accumulation_steps = gr.Number(
 
554
  output_components.append(locals()[f"image_{i}"])
555
  output_components.append(locals()[f"caption_{i}"])
556
  caption_list.append(locals()[f"caption_{i}"])
557
+ with gr.Accordion(open=False, label="Advanced options", visible=False, elem_classes=['accordion']) as advanced:
558
  with gr.Row():
559
  with gr.Column():
560
  optimizer = gr.Dropdown(
 
673
  value=1024,
674
  )
675
 
676
+ with gr.Accordion(open=False, label="Even more advanced options", elem_classes=['accordion']):
677
  with gr.Row():
678
  with gr.Column():
679
  gradient_accumulation_steps = gr.Number(